diff --git a/manifests/view.pp b/manifests/view.pp index ff128f3..8d7f5d8 100644 --- a/manifests/view.pp +++ b/manifests/view.pp @@ -12,6 +12,7 @@ define bind::view ( $notify_source = '', $also_notify = [], $order = '10', + $minimal_responses = false, ) { $confdir = $::bind::confdir diff --git a/templates/view.erb b/templates/view.erb index 8f7b802..0943c2f 100644 --- a/templates/view.erb +++ b/templates/view.erb @@ -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 -%>