blob: 1253a072a43754b024c1295bf8a159a5116c23b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# File managed by puppet
zone "<%=@zone%>" IN {
type master;
file "/etc/bind/pri/<%=@name%>.conf";
<% if @zone_xfers and not @zone_xfers.empty? -%>
<% if @zone_xfers.is_a?(Array) -%>
allow-transfer { <%= @zone_xfers.join('; ') -%>; };
<% else -%>
allow-transfer { <%= @zone_xfers %>; };
<% end -%>
<% else -%>
allow-transfer { none; };
<% end -%>
allow-query { any; };
notify yes;
};
|