Merge pull request #111 from makeacode/server_clause

support creating server clauses
This commit is contained in:
Nate Riffe
2017-02-09 07:19:15 -06:00
committed by GitHub
4 changed files with 28 additions and 0 deletions
+1
View File
@@ -78,6 +78,7 @@ class bind (
"${confdir}/acls.conf",
"${confdir}/keys.conf",
"${confdir}/views.conf",
"${confdir}/servers.conf",
"${confdir}/view-mappings.txt",
"${confdir}/domain-mappings.txt",
]:
+16
View File
@@ -0,0 +1,16 @@
# ex: syntax=puppet si ts=4 sw=4 et
define bind::server (
$bogus = false,
$edns = true,
$key = undef,
$transfers = undef,
) {
include bind
concat::fragment { "bind-server-${name}":
order => 10,
target => "${::bind::confdir}/servers.conf",
content => template('bind/server.erb'),
}
}