diff options
author | Micah Anderson <micah@leap.se> | 2015-09-10 16:04:59 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2015-09-10 16:04:59 -0400 |
commit | 0e13876bd54009bf81e7cab2abcca392ca06e32d (patch) | |
tree | b9efab47a3316a0a3d3b02970af6454c797fc6f8 /puppet/modules/site_postfix | |
parent | d113bf1b2cd3cb6a94fbe20aa711bf9b9b93286f (diff) |
Make sure hiera values have valid defaults if they are not specified (#7443)
Change-Id: Ib701886ad26c5e39ccd669fadca81404b5c0426a
Diffstat (limited to 'puppet/modules/site_postfix')
-rw-r--r-- | puppet/modules/site_postfix/manifests/mx.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp index bff3e291..bc65e370 100644 --- a/puppet/modules/site_postfix/manifests/mx.pp +++ b/puppet/modules/site_postfix/manifests/mx.pp @@ -7,8 +7,8 @@ class site_postfix::mx { $domain = $domain_hash['full_suffix'] $host_domain = $domain_hash['full'] $cert_name = hiera('name') - $mynetworks = join(hiera('mynetworks'), ' ') - $rbls = suffix(prefix(hiera('rbls'), 'reject_rbl_client '), ',') + $mynetworks = join(hiera('mynetworks', ''), ' ') + $rbls = suffix(prefix(hiera('rbls', []), 'reject_rbl_client '), ',') $root_mail_recipient = hiera('contacts') $postfix_smtp_listen = 'all' |