diff options
author | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2010-11-08 16:15:43 +0100 |
---|---|---|
committer | Cédric Jeanneret <cedric.jeanneret@camptocamp.com> | 2010-11-15 14:21:11 +0100 |
commit | e0f517634bb58ec8e9f396ff489eb8a9efc73ee0 (patch) | |
tree | be170e0483c52b6bd36a085a957f20ea30975482 /templates/zone-master.erb | |
download | puppet-bind-e0f517634bb58ec8e9f396ff489eb8a9efc73ee0.tar.gz puppet-bind-e0f517634bb58ec8e9f396ff489eb8a9efc73ee0.tar.bz2 |
(bind) initial import
Doc will be added later.
Diffstat (limited to 'templates/zone-master.erb')
-rw-r--r-- | templates/zone-master.erb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/zone-master.erb b/templates/zone-master.erb new file mode 100644 index 0000000..d9e88fd --- /dev/null +++ b/templates/zone-master.erb @@ -0,0 +1,12 @@ +# File managed by puppet +zone "<%=name%>" IN { + type master; + file "/etc/bind/pri/<%=name%>.conf"; +<% if zone_xfers and not zone_xfers.empty? -%> + allow-transfer { <%= zone_xfers.collect! {|i| "#{i}" }.join('; ') -%> }; +<% else -%> + allow-transfer { none; }; +<% end -%> + allow-query { any; }; + notify yes; +}; |