File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 30
30
fail(" transfer_source may only be provided for bind::zone resources with zone_type 'slave' or 'stub'" )
31
31
}
32
32
33
- unless !($allow_update != ' ' and ! $dynamic ) {
34
- fail(" allow_update may only be provided for bind::zone resources with dynamic set to true" )
33
+ unless !($allow_updates != ' ' and ! $dynamic ) {
34
+ fail(" allow_updates may only be provided for bind::zone resources with dynamic set to true" )
35
35
}
36
36
37
37
unless !($dnssec and ! $dynamic ) {
Original file line number Diff line number Diff line change @@ -21,8 +21,10 @@ options {
21
21
auth-nxdomain <%= @auth_nxdomain ? 'yes' : 'no' %> ;
22
22
listen-on-v6 { any; };
23
23
dnssec-enable <%= @dnssec ? 'yes' : 'no' %> ;
24
- dnssec-validation <%= @dnssec ? 'yes' : 'no' %> ;
25
- dnssec-lookaside <%= @dnssec ? 'auto' : 'no' %> ;
24
+ <%- if @dnssec -%>
25
+ dnssec-validation yes;
26
+ dnssec-lookaside auto;
27
+ <%- end -%>
26
28
<%- if @version != '' -%>
27
29
version "<%= @version %> ";
28
30
<%- end -%>
You can’t perform that action at this time.
0 commit comments