]> gitweb.fluxo.info Git - puppet-postfix.git/commitdiff
Avoid undefined variable warnings
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 30 Dec 2017 15:33:42 +0000 (13:33 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 30 Dec 2017 15:33:42 +0000 (13:33 -0200)
manifests/init.pp

index d298183c27f837731379ec7f74bc85aa301d5b9b..3637cdd3b8ff947203fd465f5b1bf3be61bd6760 100644 (file)
@@ -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' {