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:
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user