Add support for the update-policy statement

This commit is contained in:
Mike Bryant
2015-06-11 15:56:01 +01:00
parent b44b6ad0ce
commit 1e8d0b3d0d
3 changed files with 9 additions and 0 deletions
+7
View File
@@ -47,6 +47,13 @@ zone "<%= @_domain %>" {
<%- end -%>
};
<%- end -%>
<%- if @update_policies and @update_policies != '' -%>
update-policy {
<%- Array(@update_policies).each do |update_policy| -%>
<%= update_policy %>;
<%- end -%>
};
<%- end -%>
<%- if @allow_transfers and @allow_transfers != '' -%>
allow-transfer {
<%- Array(@allow_transfers).each do |allow_transfer| -%>