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

index 5b0f6098c4c08e5143746db4a2e39f1ddbe238ab..4e0421ab6ff30484ba7582123924b49433133718 100644 (file)
@@ -50,4 +50,9 @@ 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,
+  }
 }