summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix/manifests/mx.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_postfix/manifests/mx.pp')
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp5
1 files changed, 2 insertions, 3 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
index a043c277..474ed03d 100644
--- a/puppet/modules/site_postfix/manifests/mx.pp
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -3,10 +3,9 @@ class site_postfix::mx {
$domain_hash = hiera ('domain')
$domain = $domain_hash['full_suffix']
$host_domain = $domain_hash['full']
- $mx_hash = hiera('mx')
$cert_name = hiera('name')
- $root_mail_recipient = $mx_hash['contact']
+ $root_mail_recipient = hiera ('contacts')
$postfix_smtp_listen = 'all'
include site_config::x509::cert
@@ -32,7 +31,7 @@ class site_postfix::mx {
}
include site_postfix::mx::smtpd_checks
- include site_postfix::checks
+ include site_postfix::mx::checks
include site_postfix::mx::tls
include site_postfix::mx::reserved_aliases