add chef header to templates

This commit is contained in:
Jörg Thalheim 2014-01-27 09:13:24 +01:00
parent b8f40b3597
commit e980e0bfda
3 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// named.conf for <%= @node.name %> managed by Chef. Changes will be overwritten.
include "/etc/bind/named.conf.options"; include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones"; include "/etc/bind/named.conf.default-zones";

View File

@ -1,3 +1,4 @@
// named.conf.options for <%= @node.name %> managed by Chef. Changes will be overwritten.
acl "trusted" { acl "trusted" {
<%= @node.bind.trusted_subnets.map {|ip| "#{ip};" }.join(" ") -%> <%= @node.bind.trusted_subnets.map {|ip| "#{ip};" }.join(" ") -%>
}; };

View File

@ -1,3 +1,4 @@
; named.conf.options for <%= @node.name %> managed by Chef. Changes will be overwritten.
@ IN SOA <%= @zone_name %> hostmaster ( @ IN SOA <%= @zone_name %> hostmaster (
<%= Time.now.to_i %> <%= Time.now.to_i %>
1H ; refresh 1H ; refresh