aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-18 20:37:54 +0200
committerintrigeri <intrigeri@boum.org>2010-10-18 20:37:54 +0200
commitfc9e549f46dc47ef69980aaa150361fc347b801a (patch)
tree532e849a4bafabbde344f37e4ebc6a292ed76c1f
parentee35af20b441aedbd26c7f4b4c6ca0a709a63e58 (diff)
downloadpuppet-postfix-fc9e549f46dc47ef69980aaa150361fc347b801a.tar.gz
puppet-postfix-fc9e549f46dc47ef69980aaa150361fc347b801a.tar.bz2
Bugfix: set defaults for all variables used in templates.
At least puppet 2.6.0 demands this.
-rw-r--r--manifests/classes/postfix.pp16
1 files changed, 15 insertions, 1 deletions
diff --git a/manifests/classes/postfix.pp b/manifests/classes/postfix.pp
index 7f9e91c..aa04cfc 100644
--- a/manifests/classes/postfix.pp
+++ b/manifests/classes/postfix.pp
@@ -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