aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/postfix.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-07-13 22:30:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-07-13 22:30:12 -0300
commite70609a148ec092bc35dda0698deaa619eb1a67d (patch)
treeb2a14b50a5a94e8cf2337910a4eff48ba6c350be /manifests/classes/postfix.pp
parentc904fc86c52f335fe2fe4d93bba3dd59705b10fd (diff)
parent1f99fcdfdbe73be25c7a5ea80853bbc4618d4f76 (diff)
downloadpuppet-postfix-e70609a148ec092bc35dda0698deaa619eb1a67d.tar.gz
puppet-postfix-e70609a148ec092bc35dda0698deaa619eb1a67d.tar.bz2
Merge branch 'master' of git://gaffer.ptitcanardnoir.org/puppet-module-postfix
Diffstat (limited to 'manifests/classes/postfix.pp')
-rw-r--r--manifests/classes/postfix.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp
index 588bfc8..4e9cd6f 100644
--- a/manifests/classes/postfix.pp
+++ b/manifests/classes/postfix.pp
@@ -40,6 +40,12 @@ class postfix {
case $root_mail_recipient {
"": { $root_mail_recipient = "nobody" }
}
+ case $postfix_anon_sasl {
+ "": { $postfix_anon_sasl = "no" }
+ }
+ case $postfix_manage_header_checks {
+ "": { $postfix_manage_header_checks = "no" }
+ }
case $postfix_manage_tls_policy {
"": { $postfix_manage_tls_policy = "no" }
}
@@ -64,6 +70,12 @@ class postfix {
module_dir{'postfix': }
# Include optional classes
+ if $postfix_anon_sasl == 'yes' {
+ include postfix::anonsasl
+ }
+ if $postfix_manage_header_checks == 'yes' {
+ include postfix::header_checks
+ }
if $postfix_manage_tls_policy == 'yes' {
include postfix::tlspolicy
}