Explicitly reference the bind keys file
Debian supplies the bind keys at /etc/bind/bind.keys and RedHat supplies it at /etc/named.iscdlv.key. Add the directive that references this file. I think it may have "just worked" on Debian, baesd on the information at https://www.isc.org/downloads/bind/bind-keys/
This commit is contained in:
parent
c28594b458
commit
d580291c69
@ -10,5 +10,6 @@ bind::defaults::namedconf: '/etc/bind/named.conf'
|
|||||||
bind::defaults::cachedir: '/var/cache/bind'
|
bind::defaults::cachedir: '/var/cache/bind'
|
||||||
bind::defaults::logdir: '/var/log/bind'
|
bind::defaults::logdir: '/var/log/bind'
|
||||||
bind::defaults::default_zones_include: '/etc/bind/named.conf.default-zones'
|
bind::defaults::default_zones_include: '/etc/bind/named.conf.default-zones'
|
||||||
|
bind::defaults::isc_bind_keys: '/etc/bind/bind.keys'
|
||||||
|
|
||||||
bind::updater::keydir: '/etc/bind/keys'
|
bind::updater::keydir: '/etc/bind/keys'
|
||||||
|
|||||||
@ -12,5 +12,6 @@ bind::defaults::cachedir: '/var/named'
|
|||||||
bind::defaults::logdir: '/var/log/named'
|
bind::defaults::logdir: '/var/log/named'
|
||||||
bind::defaults::default_zones_include: '/etc/named.default-zones.conf'
|
bind::defaults::default_zones_include: '/etc/named.default-zones.conf'
|
||||||
bind::defaults::default_zones_source: 'puppet:///modules/bind/RedHat/named.default-zones.conf'
|
bind::defaults::default_zones_source: 'puppet:///modules/bind/RedHat/named.default-zones.conf'
|
||||||
|
bind::defaults::isc_bind_keys: '/etc/named.iscdlv.key'
|
||||||
|
|
||||||
bind::updater::keydir: '/etc/named/keys'
|
bind::updater::keydir: '/etc/named/keys'
|
||||||
|
|||||||
@ -15,6 +15,7 @@ class bind::defaults (
|
|||||||
$managed_keys_directory = undef,
|
$managed_keys_directory = undef,
|
||||||
$default_zones_include = undef,
|
$default_zones_include = undef,
|
||||||
$default_zones_source = undef,
|
$default_zones_source = undef,
|
||||||
|
$isc_bind_keys = undef,
|
||||||
) {
|
) {
|
||||||
unless is_bool($supported) {
|
unless is_bool($supported) {
|
||||||
fail('Please ensure that the dependencies of the bind module are installed and working correctly')
|
fail('Please ensure that the dependencies of the bind module are installed and working correctly')
|
||||||
|
|||||||
@ -35,6 +35,9 @@ options {
|
|||||||
<%- if @dnssec -%>
|
<%- if @dnssec -%>
|
||||||
dnssec-validation yes;
|
dnssec-validation yes;
|
||||||
dnssec-lookaside auto;
|
dnssec-lookaside auto;
|
||||||
|
<%- if @isc_bind_keys -%>
|
||||||
|
bindkeys-file "<%= @isc_bind_keys %>";
|
||||||
|
<%- end -%>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- if @version != '' -%>
|
<%- if @version != '' -%>
|
||||||
version "<%= @version %>";
|
version "<%= @version %>";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user