Merge remote-tracking branch 'ocado/minimal-responses'

This commit is contained in:
Nate Riffe 2016-04-20 08:05:49 -05:00
commit db935f8b86
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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 -%>