summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2015-09-10 16:04:59 -0400
committerMicah Anderson <micah@leap.se>2015-09-10 16:04:59 -0400
commit0e13876bd54009bf81e7cab2abcca392ca06e32d (patch)
treeb9efab47a3316a0a3d3b02970af6454c797fc6f8 /puppet/modules/site_postfix
parentd113bf1b2cd3cb6a94fbe20aa711bf9b9b93286f (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.pp4
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'