From: Silvio Rhatto Date: Tue, 29 Nov 2011 01:38:30 +0000 (-0200) Subject: Using ssl::cert to define certificates X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0a66e40f2f1ce012f9b3101c63423852175365a0;p=puppet-mail.git Using ssl::cert to define certificates --- diff --git a/manifests/system.pp b/manifests/system.pp index ac39929..f9cd31b 100644 --- a/manifests/system.pp +++ b/manifests/system.pp @@ -18,7 +18,7 @@ class mail::system { # Module requirements include postfix - include ssl::mail + include ssl # Common subsystems include mail::packages diff --git a/manifests/tls.pp b/manifests/tls.pp index 291e82c..0f63a56 100644 --- a/manifests/tls.pp +++ b/manifests/tls.pp @@ -10,6 +10,13 @@ class mail::tls { # TLS Policy include postfix::tlspolicy + # SSL certificate + ssl::cert { "cert": + group => 'postfix', + privmode => '0640', + notify => Service['postfix'], + } + # Check SSL certificate ssl::check { "$domain": file => true,