From 54b0b38ac1d2a498f6426b085b7b0c4dad31f5a8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 27 Aug 2010 16:37:40 -0300 Subject: Enabling override of postfix_mydestination --- manifests/system.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/system.pp b/manifests/system.pp index e48f52e..5b08c83 100644 --- a/manifests/system.pp +++ b/manifests/system.pp @@ -4,7 +4,10 @@ class mail::system { $postfix_use_dovecot_lda = "yes" $postfix_use_schleuder = "yes" $postfix_use_sympa = "yes" - $postfix_mydestination = '$myhostname, localhost.$mydomain, localhost' + + case $postfix_mydestination { + '': { $postfix_mydestination = '$myhostname, localhost.$mydomain, localhost' } + } case $postfix_mynetworks { '': { $postfix_mynetworks = "127.0.0.0/8" } -- cgit v1.2.3