Merge remote-tracking branch 'ocado/minimal-responses'
This commit is contained in:
commit
db935f8b86
@ -12,6 +12,7 @@ define bind::view (
|
|||||||
$notify_source = '',
|
$notify_source = '',
|
||||||
$also_notify = [],
|
$also_notify = [],
|
||||||
$order = '10',
|
$order = '10',
|
||||||
|
$minimal_responses = false,
|
||||||
) {
|
) {
|
||||||
$confdir = $::bind::confdir
|
$confdir = $::bind::confdir
|
||||||
|
|
||||||
|
|||||||
@ -53,6 +53,9 @@ view "<%= @name %>" {
|
|||||||
<%- if @notify_source and @notify_source != '' -%>
|
<%- if @notify_source and @notify_source != '' -%>
|
||||||
notify-source <%= @notify_source %>;
|
notify-source <%= @notify_source %>;
|
||||||
<%- 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