puppet-bind/manifests/params.pp
Nate Riffe 01cb48191e Generate an rndc key, let BIND rest on defaults
In the absence of any 'controls' configuration, BIND uses the rndc.key file
containing a key named rndc-key for rndc by default. In this mode, there is
also no need for any explicit settings in rndc.conf.
2015-01-18 10:31:12 -06:00

29 lines
720 B
Puppet

# ex: syntax=puppet si ts=4 sw=4 et
class bind::params (
$supported,
$bind_user,
$bind_group,
$bind_package,
$bind_service,
$nsupdate_package,
) {
unless $supported {
fail('Platform is not supported')
}
if $::osfamily == 'Debian' {
$bind_files = [
"${::bind::confdir}/bind.keys",
"${::bind::confdir}/db.empty",
"${::bind::confdir}/db.local",
"${::bind::confdir}/db.root",
"${::bind::confdir}/db.0",
"${::bind::confdir}/db.127",
"${::bind::confdir}/db.255",
"${::bind::confdir}/named.conf.default-zones",
"${::bind::confdir}/zones.rfc1918",
]
}
}