diff options
Diffstat (limited to 'templates/zone-master.erb')
-rw-r--r-- | templates/zone-master.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/zone-master.erb b/templates/zone-master.erb index f66cd7b..eaabf8a 100644 --- a/templates/zone-master.erb +++ b/templates/zone-master.erb @@ -1,12 +1,12 @@ # File managed by puppet -zone "<%=zone%>" IN { +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('; ') -%>; }; +<% if @zone_xfers and not @zone_xfers.empty? -%> + <% if @zone_xfers.is_a?(Array) -%> + allow-transfer { <%= @zone_xfers.join('; ') -%>; }; <% else -%> - allow-transfer { <%= zone_xfers %>; }; + allow-transfer { <%= @zone_xfers %>; }; <% end -%> <% else -%> allow-transfer { none; }; |