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
committervarac <varacanero@zeromail.org>2013-07-09 14:16:59 +0200
commit886551dfd2e6eb7dc51d15ebbd6393198dfde78f (patch)
treeebacc316056ba7cc83efa592281f397afeec2a5a /puppet/modules/site_postfix/manifests/mx.pp
parent67e98211f7414bfd8986ef2be1bcf9e5d5be406f (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 {