]> gitweb.fluxo.info Git - puppet-postfix.git/commitdiff
Bugfix: set defaults for all variables used in templates.
authorintrigeri <intrigeri@boum.org>
Mon, 18 Oct 2010 18:37:54 +0000 (20:37 +0200)
committerintrigeri <intrigeri@boum.org>
Mon, 18 Oct 2010 18:37:54 +0000 (20:37 +0200)
At least puppet 2.6.0 demands this.

manifests/classes/postfix.pp

index 7f9e91cdb2eaf93cc1c7b24bc10f38c41f2dc307..aa04cfc64603f14cc69e92863e8134886c4b2a85 100644 (file)
@@ -40,7 +40,21 @@ class postfix {
   case $root_mail_recipient {
     "":   { $root_mail_recipient = "nobody" }
   }
-
+  case $postfix_use_amavisd {
+    "":   { $postfix_use_amavisd = "no" }
+  }
+  case $postfix_use_dovecot_lda {
+    "":   { $postfix_use_dovecot_lda = "no" }
+  }
+  case $postfix_use_schleuder {
+    "":   { $postfix_use_schleuder = "no" }
+  }
+  case $postfix_use_sympa {
+    "":   { $postfix_use_sympa = "no" }
+  }
+  case $postfix_mastercf_tail {
+    "":   { $postfix_mastercf_tail = "" }
+  }
 
   package { ["postfix", "mailx"]:
     ensure => installed