summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-23 12:31:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-02-23 12:31:38 -0300
commit9f537cd64814145a3e9268a13d125a7458883599 (patch)
treec71eecf6f001cdec2cf8b9481e87945e4d42526b
parent629fde0cbdfef218dfa3793c733f3ef10424e714 (diff)
downloadpuppet-mail-9f537cd64814145a3e9268a13d125a7458883599.tar.gz
puppet-mail-9f537cd64814145a3e9268a13d125a7458883599.tar.bz2
Using postfix::tlspolicy
-rw-r--r--manifests/tls.pp7
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',
}