aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/postfix.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-11-10 21:17:00 +0100
committerintrigeri <intrigeri@boum.org>2010-11-10 23:10:13 +0100
commit8ce9ae825993934113cc24d80428292aaf47b824 (patch)
tree1ed4a5ddb81ff2c7cdd6ba5dfc6ffc493b2170d2 /manifests/classes/postfix.pp
parent78c5fbe9f2abf6dd0f15ff84d6e166022a1c016e (diff)
downloadpuppet-postfix-8ce9ae825993934113cc24d80428292aaf47b824.tar.gz
puppet-postfix-8ce9ae825993934113cc24d80428292aaf47b824.tar.bz2
Add support for managing Postfix TLS policy.
Diffstat (limited to 'manifests/classes/postfix.pp')
-rw-r--r--manifests/classes/postfix.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp
index 038f155..3d8ac3a 100644
--- a/manifests/classes/postfix.pp
+++ b/manifests/classes/postfix.pp
@@ -40,6 +40,9 @@ class postfix {
case $root_mail_recipient {
"": { $root_mail_recipient = "nobody" }
}
+ case $postfix_manage_tls_policy {
+ "": { $postfix_manage_tls_policy = "no" }
+ }
case $postfix_use_amavisd {
"": { $postfix_use_amavisd = "no" }
}
@@ -56,6 +59,14 @@ class postfix {
"": { $postfix_mastercf_tail = "" }
}
+ # Bootstrap moduledir
+ include common::moduledir
+ module_dir{'postfix': }
+
+ # Include optional classes
+ if $postfix_manage_tls_policy == 'yes' {
+ include postfix::tlspolicy
+ }
if $postfix_use_amavisd == 'yes' {
include postfix::amavis
}