Merge remote-tracking branch 'ocado/minimal-responses'
This commit is contained in:
commit
db935f8b86
@ -12,6 +12,7 @@ define bind::view (
|
||||
$notify_source = '',
|
||||
$also_notify = [],
|
||||
$order = '10',
|
||||
$minimal_responses = false,
|
||||
) {
|
||||
$confdir = $::bind::confdir
|
||||
|
||||
|
||||
@ -53,6 +53,9 @@ view "<%= @name %>" {
|
||||
<%- if @notify_source and @notify_source != '' -%>
|
||||
notify-source <%= @notify_source %>;
|
||||
<%- end -%>
|
||||
<%- if @minimal_responses -%>
|
||||
minimal-responses yes;
|
||||
<%- end -%>
|
||||
<%- if scope.lookupvar('osfamily') == 'Debian' -%>
|
||||
include "<%= @confdir %>/named.conf.default-zones";
|
||||
<%- end -%>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user