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

13 lines
337 B
Plaintext
Raw Normal View History

2014-01-27 08:13:24 +00:00
// named.conf for <%= @node.name %> managed by Chef. Changes will be overwritten.
2014-01-19 14:34:01 +00:00
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;
2014-01-20 15:10:18 +00:00
file "/etc/bind/<%= name %>";
2014-01-19 14:34:01 +00:00
};
<% end -%>
2014-01-20 15:10:18 +00:00