Support minimal-responses setting on views
This commit is contained in:
parent
1aebf94b7f
commit
e579b5479b
@ -10,6 +10,7 @@ define bind::view (
|
|||||||
$recursion_match_destinations = '',
|
$recursion_match_destinations = '',
|
||||||
$recursion_match_only = false,
|
$recursion_match_only = false,
|
||||||
$order = '10',
|
$order = '10',
|
||||||
|
$minimal_responses = false,
|
||||||
) {
|
) {
|
||||||
$confdir = $::bind::confdir
|
$confdir = $::bind::confdir
|
||||||
|
|
||||||
|
|||||||
@ -44,6 +44,9 @@ view "<%= @name %>" {
|
|||||||
};
|
};
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
<%- if @minimal_responses -%>
|
||||||
|
minimal-responses yes;
|
||||||
|
<%- end -%>
|
||||||
<%- if scope.lookupvar('osfamily') == 'Debian' -%>
|
<%- if scope.lookupvar('osfamily') == 'Debian' -%>
|
||||||
include "<%= @confdir %>/named.conf.default-zones";
|
include "<%= @confdir %>/named.conf.default-zones";
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user