Add a zone definition

This commit is contained in:
Nate Riffe
2012-09-04 07:24:31 -05:00
parent 6800ca9ebc
commit 63b3c4037b
3 changed files with 58 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# This file managed by puppet - changes will be lost
zone "<%= _domain %>" {
type <%= type %>;
<%- if file != '' -%>
file "<%= file %>";
<%- end -%>
<%- if not masters.empty? -%>
masters {
<%- masters.each do |master| -%>
<%= master %>;
<%- end -%>
};
<%- end -%>
<%- if not allow_updates.empty? -%>
allow-update {
<%- allow_updates.each do |allow_update| -%>
<%= allow_update %>;
<%- end -%>
};
<%- end -%>
<%- if not allow_transfers.empty? -%>
allow-transfer {
<%- allow_transfers.each do |allow_transfer| -%>
<%= allow_transfer %>;
<%- end -%>
};
<%- end -%>
};