aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-15 19:33:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-15 19:33:04 -0300
commitff625c79a66973fcd8794e07b43f3bd66cd63465 (patch)
treec879a0f99373c8d21a5747a56f739565f9a23806
parent1f744d441bf60ccf36f4f5bed81be3a507150986 (diff)
downloadpuppet-nodo-ff625c79a66973fcd8794e07b43f3bd66cd63465.tar.gz
puppet-nodo-ff625c79a66973fcd8794e07b43f3bd66cd63465.tar.bz2
Cert config for nodo::mail
-rw-r--r--manifests/mail.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp
index 5b0f609..4e0421a 100644
--- a/manifests/mail.pp
+++ b/manifests/mail.pp
@@ -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,
+ }
}