Add dnsmasq resolver and edge base-class changes to the mail gateway #554

Open
unkin-agent wants to merge 15 commits from benvin/mail-edge-dnsmasq into develop
2 changed files with 12 additions and 0 deletions
Showing only changes of commit 05c1176cdc - Show all commits
+8
View File
@@ -2,6 +2,14 @@
hiera_include:
- redis
# local caching resolver for postfix and rspamd, forwarding to the lab resolver over the vpn route
dnsmasq::no_resolv: true
dnsmasq::cache_size: 10000
dnsmasq::servers:
- 198.18.200.7
profiles::dns::base::nameservers:
- 127.0.0.1
profiles::yum::global::repos:
rspamd:
ensure: present
@@ -6,7 +6,11 @@ class roles::infra::mail::gateway {
}else{
include profiles::defaults
include profiles::base
include dnsmasq
include profiles::rspamd::edge
include profiles::postfix::gateway
# resolv.conf points at dnsmasq, so it must be running first
Class['dnsmasq'] -> Class['profiles::dns::resolvconf']
}
}