add chef header to templates
This commit is contained in:
parent
b8f40b3597
commit
e980e0bfda
@ -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";
|
||||||
|
@ -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(" ") -%>
|
||||||
};
|
};
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user