summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-15 13:54:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-15 13:54:23 -0300
commit83b77b795f4c9e2a761a2f4d157bfea3805913bd (patch)
tree977209cc8f44fa7b0a106fe1d988535fb07a8752 /manifests
parent2a99530fd499534282de62737f72ce1ef6b106c9 (diff)
downloadpuppet-mail-83b77b795f4c9e2a761a2f4d157bfea3805913bd.tar.gz
puppet-mail-83b77b795f4c9e2a761a2f4d157bfea3805913bd.tar.bz2
Adding smtp_tls_policy_maps
Diffstat (limited to 'manifests')
-rw-r--r--manifests/tls.pp13
1 files changed, 9 insertions, 4 deletions
diff --git a/manifests/tls.pp b/manifests/tls.pp
index 435e5d1..46083ec 100644
--- a/manifests/tls.pp
+++ b/manifests/tls.pp
@@ -1,7 +1,12 @@
class mail::tls {
# TLS
- postfix::config { "smtpd_tls_cert_file": value => '/etc/ssl/certs/cert.crt' }
- postfix::config { "smtpd_tls_key_file": value => '/etc/ssl/private/cert.pem' }
- postfix::config { "smtpd_use_tls": value => 'yes' }
- postfix::config { "smtp_use_tls": value => 'yes' }
+ postfix::config { "smtpd_tls_cert_file": value => '/etc/ssl/certs/cert.crt' }
+ postfix::config { "smtpd_tls_key_file": value => '/etc/ssl/private/cert.pem' }
+ postfix::config { "smtpd_use_tls": value => 'yes' }
+ postfix::config { "smtp_use_tls": value => 'yes' }
+ postfix::config { "smtp_tls_policy_maps": value => 'hash:/etc/postfix/tls_policy' }
+
+ postfix::hash { "/etc/postfix/tls_policy":
+ ensure => present,
+ }
}