Merge branch 'fix_satellite_class' into 'master'

Fix satellite class

See merge request !5
This commit is contained in:
Jerome Charaoui 2015-03-17 15:26:27 +00:00
commit bf977c9b76

View file

@ -21,16 +21,16 @@
# } # }
# } # }
# #
class postfix::satellite( class postfix::satellite(
$relayhost = '', $relayhost = '',
$valid_fqdn = '', $valid_fqdn = $::fqdn,
$root_mail_recipient = '' $root_mail_recipient = ''
) { ) {
# If $valid_fqdn exists, use it to override $fqdn # If $valid_fqdn is provided, use it to override $fqdn
case $valid_fqdn { if $valid_fqdn != $::fdqn {
"": { $valid_fqdn = $::fqdn } $fqdn = $valid_fqdn
default: { $fqdn = "${valid_fqdn}" }
} }
class { 'postfix': class { 'postfix':