summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix/manifests/mx.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-04-22 17:28:40 +0200
committerMicah Anderson <micah@leap.se>2013-07-25 13:45:10 -0400
commit8d93b0f2fa3198cf4071cf93d8213fbfc3e0a9be (patch)
tree2b7dafa606831505a6dc669da79d66e7d94baf87 /puppet/modules/site_postfix/manifests/mx.pp
parent720717e177af576936a7e3e950aec1d208a21fae (diff)
hiera variable mx.contact -> postfix $root_mail_recipient
Diffstat (limited to 'puppet/modules/site_postfix/manifests/mx.pp')
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
index 9104c2cb..15449001 100644
--- a/puppet/modules/site_postfix/manifests/mx.pp
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -1,10 +1,10 @@
class site_postfix::mx {
- $domain_hash = hiera ('domain')
- $domain = $domain_hash['full_suffix']
+ $domain_hash = hiera ('domain')
+ $domain = $domain_hash['full_suffix']
+ $mx_hash = hiera('mx')
- # see https://leap.se/code/issues/1936 for contact email addr
- #$root_mail_recipient = ''
+ $root_mail_recipient = $mx_hash['contact']
$postfix_smtp_listen = 'all'
postfix::config {