aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-30 13:33:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-30 13:33:42 -0200
commitc760c9cc29afc2fb5f466fba7047e43c9dd0ef88 (patch)
tree05906553ce6ac816952a0f52a8e0afda4d87f4fd /manifests
parent04fdcc3a1de46f33717bfd05ede7b0d7cb372576 (diff)
downloadpuppet-postfix-c760c9cc29afc2fb5f466fba7047e43c9dd0ef88.tar.gz
puppet-postfix-c760c9cc29afc2fb5f466fba7047e43c9dd0ef88.tar.bz2
Avoid undefined variable warnings
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index d298183..3637cdd 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -77,10 +77,12 @@ class postfix(
'Debian': {
$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: {
@@ -99,7 +101,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' {