Make recursion_match_clients and recursion_match_destinations mirroring the existing match_clients and match_destinations in order to distinguish recursion access as a proper subset of view access.
19 lines
529 B
Puppet
19 lines
529 B
Puppet
# ex: syntax=puppet si ts=4 sw=4 et
|
|
|
|
define bind::view (
|
|
$match_clients = 'any',
|
|
$match_destinations = '',
|
|
$zones = [],
|
|
$recursion = true,
|
|
$recursion_match_clients = 'any',
|
|
$recursion_match_destinations = '',
|
|
) {
|
|
$confdir = $bind::params::confdir
|
|
|
|
concat::fragment { "bind-view-${name}":
|
|
order => '10',
|
|
target => "${bind::params::confdir}/views.conf",
|
|
content => template('bind/view.erb'),
|
|
}
|
|
}
|