From: Silvio Rhatto Date: Sat, 30 Dec 2017 15:33:42 +0000 (-0200) Subject: Avoid undefined variable warnings X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c760c9cc29afc2fb5f466fba7047e43c9dd0ef88;p=puppet-postfix.git Avoid undefined variable warnings --- 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' {