chef-lctp/site-cookbooks/bind/templates/default/named.conf.erb

13 lines
337 B
Plaintext

// named.conf for <%= @node.name %> managed by Chef. Changes will be overwritten.
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
<% @node.bind.zones.each do |name, zone| -%>
zone <%= name %> IN {
type master;
file "/etc/bind/<%= name %>";
};
<% end -%>