]> gitweb.fluxo.info Git - puppet-mail.git/commitdiff
Using postfix::tlspolicy
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Feb 2011 15:31:38 +0000 (12:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Feb 2011 15:31:38 +0000 (12:31 -0300)
manifests/tls.pp

index 623683061714a6df7b38693820f3db12aad1d264..5b035706efffe6e6e88aee7e99dffbc026d3a874 100644 (file)
@@ -8,11 +8,10 @@ class mail::tls {
   postfix::config { "smtpd_tls_CApath":         value => '/etc/ssl/certs' }
   postfix::config { "smtp_tls_CApath":          value => '/etc/ssl/certs' }
 
-  postfix::hash { "/etc/postfix/tls_policy":
-    ensure => present,
-    source => "puppet://$server/files/postfix/tls_policy",
-  }
+  # TLS Policy
+  include postfix::tlspolicy
 
+  # Check SSL certificate
   ssl::check { "$domain":
     port => '25',
   }