blob: cb702be7e04e5d84fc8af5d1f751134772868940 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<%- | String $zone,
String $type,
String $update_policy,
| -%>
<%# one zone entry for the bind9 configuration file %>
zone "<%= $zone %>" {
type <%= $type %>;
file "zones/<%= $zone %>.db";
<%- if $type == 'master' or $type == 'slave' { %>
journal "journal/<%= $zone %>.jnl";
<%- } %>
<%- if $update_policy { %>
update-policy {
<%= $update_policy %>;
};
<%- } %>
};
|