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(
$relayhost = '',
$valid_fqdn = '',
$valid_fqdn = $::fqdn,
$root_mail_recipient = ''
) {
# If $valid_fqdn exists, use it to override $fqdn
case $valid_fqdn {
"": { $valid_fqdn = $::fqdn }
default: { $fqdn = "${valid_fqdn}" }
# If $valid_fqdn is provided, use it to override $fqdn
if $valid_fqdn != $::fdqn {
$fqdn = $valid_fqdn
}
class { 'postfix':