named.conf is not a concat, make one for keys
This commit is contained in:
parent
4e74ffe8a9
commit
a62f9dd107
@ -45,6 +45,7 @@ class bind (
|
||||
|
||||
concat { [
|
||||
"${confdir}/acls.conf",
|
||||
"${confdir}/keys.conf",
|
||||
"${confdir}/views.conf",
|
||||
]:
|
||||
owner => 'root',
|
||||
@ -59,6 +60,12 @@ class bind (
|
||||
content => "# This file is managed by puppet - changes will be lost\n",
|
||||
}
|
||||
|
||||
concat::fragment { "named-keys-header":
|
||||
order => '00',
|
||||
target => "${confdir}/keys.conf",
|
||||
content => "# This file is managed by puppet - changes will be lost\n",
|
||||
}
|
||||
|
||||
concat::fragment { "named-views-header":
|
||||
order => '00',
|
||||
target => "${confdir}/views.conf",
|
||||
|
||||
@ -12,7 +12,7 @@ define bind::key (
|
||||
}
|
||||
concat::fragment { "bind-key-${name}":
|
||||
order => '10',
|
||||
target => "${bind::confdir}/named.conf",
|
||||
target => "${bind::confdir}/keys.conf",
|
||||
content => "include \"${bind::confdir}/keys/${name}.conf\";\n",
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
# This file is managed by puppet - changes will be lost
|
||||
include "<%= confdir %>/acls.conf";
|
||||
include "<%= confdir %>/keys.conf";
|
||||
include "<%= confdir %>/views.conf";
|
||||
|
||||
options {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user