diff options
-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', } |