Include the default zones on RedHat

RedHat's default zones are baked into the stock named.conf, which the module's
template completely rewrites. Since the module is extremely view-based, and the
Debian default-zones are repositioned into the zones, let's take those defaults
out of the stock named.conf, build a configuration file out of them and include
it in the view just the same.
This commit is contained in:
Nate Riffe
2015-12-29 20:54:14 -06:00
parent 3333c58e33
commit 57002c31a4
7 changed files with 20 additions and 2 deletions
+1
View File
@@ -8,5 +8,6 @@ bind::defaults::nsupdate_package: 'dnsutils'
bind::defaults::confdir: '/etc/bind'
bind::defaults::namedconf: '/etc/bind/named.conf'
bind::defaults::cachedir: '/var/cache/bind'
bind::defaults::default_zones_include: '/etc/bind/named.conf.default-zones'
bind::updater::keydir: '/etc/bind/keys'
+2
View File
@@ -10,5 +10,7 @@ bind::defaults::confdir: '/etc/named'
bind::defaults::namedconf: '/etc/named.conf'
bind::defaults::cachedir: '/var/named'
bind::defaults::default_zones_warning: true
bind::defaults::default_zones_include: '/etc/named.default-zones.conf'
bind::defaults::default_zones_source: 'puppet:///module/bind/RedHat/named.default-zones.conf'
bind::updater::keydir: '/etc/named/keys'