Get debian's default zones accounted for
This commit is contained in:
parent
f23bf1e1b4
commit
2d1d6d826d
@ -7,6 +7,22 @@ class bind::params {
|
||||
$confdir = '/etc/bind'
|
||||
$bind_user = 'bind'
|
||||
$bind_group = 'bind'
|
||||
|
||||
file { [
|
||||
"${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",
|
||||
]:
|
||||
ensure => present,
|
||||
require => Package[$bind_package],
|
||||
}
|
||||
}
|
||||
default: {
|
||||
fail("Operating system is not supported ${::osfamily}")
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
# This file is managed by puppet - changes will be lost
|
||||
include "<%= confdir %>/acls.conf";
|
||||
include "<%= confdir %>/views.conf";
|
||||
<%- if scope.lookupvar('osfamily') == 'Debian' -%>
|
||||
include "<%= confdir %>/named.conf.default-zones";
|
||||
<%- end -%>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user