puppet-bind/manifests/params.pp
Nate Riffe a66b985adb Fix up bind::updater and support rndc
I thought I fixed rndc a while ago... not quite. Do it now. Make bind::updater
actually work (incomplete last time)
2014-06-27 14:43:46 -05:00

36 lines
969 B
Puppet

# ex: syntax=puppet si ts=4 sw=4 et
class bind::params {
case $::osfamily {
'Debian': {
$bind_package = 'bind9'
$bind_service = 'bind9'
$confdir = '/etc/bind'
$cachedir = '/var/cache/bind'
$bind_user = 'bind'
$bind_group = 'bind'
$bind_rndc = true
$nsupdate_package = 'dnsutils'
$bind_files = [
"${confdir}/bind.keys",
"${confdir}/db.empty",
"${confdir}/db.local",
"${confdir}/db.root",
"${confdir}/db.0",
"${confdir}/db.127",
"${confdir}/db.255",
"${confdir}/named.conf.default-zones",
"${confdir}/rndc.key",
"${confdir}/zones.rfc1918",
]
}
default: {
fail("Operating system is not supported ${::osfamily}")
}
}
}