]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Using ssl::mail at nodo::mail
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 15 May 2010 22:41:19 +0000 (19:41 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 15 May 2010 22:41:19 +0000 (19:41 -0300)
manifests/mail.pp

index 4e0421ab6ff30484ba7582123924b49433133718..c21de6de41d5115d0227b5b01b465abaa6be3767 100644 (file)
@@ -8,7 +8,7 @@ class nodo::mail {
   include nodo::vserver
   include postfix::mta
   include database
-  include ssl
+  include ssl::mail
 
   # The needed packages
   package { [ 'postfix-mysql', 'dovecot-imapd', 'maildrop' ]:
@@ -50,9 +50,4 @@ class nodo::mail {
   # TLS
   postfix::config { "smtpd_tls_cert_file": value => '/etc/ssl/private/cert.pem' }
   postfix::config { "smtpd_tls_key_file":  value => '/etc/ssl/private/cert.pem' }
-
-  File['/etc/ssl/private/cert.pem'] {
-    group => postfix,
-    mode  => 0640,
-  }
 }