diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-23 12:31:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-23 12:31:38 -0300 |
commit | 9f537cd64814145a3e9268a13d125a7458883599 (patch) | |
tree | c71eecf6f001cdec2cf8b9481e87945e4d42526b | |
parent | 629fde0cbdfef218dfa3793c733f3ef10424e714 (diff) | |
download | puppet-mail-9f537cd64814145a3e9268a13d125a7458883599.tar.gz puppet-mail-9f537cd64814145a3e9268a13d125a7458883599.tar.bz2 |
Using postfix::tlspolicy
-rw-r--r-- | manifests/tls.pp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/manifests/tls.pp b/manifests/tls.pp index 6236830..5b03570 100644 --- a/manifests/tls.pp +++ b/manifests/tls.pp @@ -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', } |