From 9f537cd64814145a3e9268a13d125a7458883599 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 23 Feb 2011 12:31:38 -0300 Subject: Using postfix::tlspolicy --- manifests/tls.pp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'manifests/tls.pp') 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', } -- cgit v1.2.3