Merge pull request #38 from dougneal/misc_fixes

Misc fixes
This commit is contained in:
Nate Riffe 2015-05-18 19:07:25 -05:00
commit beaf69c2e5
2 changed files with 6 additions and 4 deletions

View File

@ -30,8 +30,8 @@ define bind::zone (
fail("transfer_source may only be provided for bind::zone resources with zone_type 'slave' or 'stub'")
}
unless !($allow_update != '' and ! $dynamic) {
fail("allow_update may only be provided for bind::zone resources with dynamic set to true")
unless !($allow_updates != '' and ! $dynamic) {
fail("allow_updates may only be provided for bind::zone resources with dynamic set to true")
}
unless !($dnssec and ! $dynamic) {

View File

@ -21,8 +21,10 @@ options {
auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %>;
listen-on-v6 { any; };
dnssec-enable <%= @dnssec ? 'yes' : 'no' %>;
dnssec-validation <%= @dnssec ? 'yes' : 'no' %>;
dnssec-lookaside <%= @dnssec ? 'auto' : 'no' %>;
<%- if @dnssec -%>
dnssec-validation yes;
dnssec-lookaside auto;
<%- end -%>
<%- if @version != '' -%>
version "<%= @version %>";
<%- end -%>