summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp19
1 files changed, 4 insertions, 15 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 45c8e0c..cb5ca22 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -79,24 +79,13 @@ class postfix(
}
'Debian': {
- case $::operatingsystemrelease {
- /^5.*/: {
- $master_cf_template = 'postfix/master.cf.debian-5.erb'
- }
- /^6.*/: {
- $master_cf_template = 'postfix/master.cf.debian-6.erb'
- }
- /^7.*/: {
- $master_cf_template = 'postfix/master.cf.debian-7.erb'
- }
- default: {
- $master_cf_template = "postfix/master.cf.debian-${::operatingsystemmajrelease}.erb"
- }
- }
+ $master_cf_template = "postfix/master.cf.debian-${::operatingsystemmajrelease}.erb"
+ $postfix_seltype = undef
}
'Ubuntu': {
$master_cf_template = 'postfix/master.cf.debian-sid.erb'
+ $postfix_seltype = undef
}
default: {
@@ -115,7 +104,7 @@ class postfix(
include postfix::anonsasl
}
# this global variable needs to get parameterized as well
- if $::header_checks == 'yes' {
+ if $manage_header_checks == 'yes' {
include postfix::header_checks
}
if $manage_tls_policy == 'yes' {