view fragment order is explictly controllable via optional parameter
order this is neccessary because the order in the config is relevant for the evaluation by bind
This commit is contained in:
parent
b7e585f2d9
commit
f9ed618b36
@ -7,11 +7,12 @@ define bind::view (
|
||||
$recursion = true,
|
||||
$recursion_match_clients = 'any',
|
||||
$recursion_match_destinations = '',
|
||||
$order = '10',
|
||||
) {
|
||||
$confdir = $::bind::confdir
|
||||
|
||||
concat::fragment { "bind-view-${name}":
|
||||
order => '10',
|
||||
order => $order,
|
||||
target => "${::bind::confdir}/views.conf",
|
||||
content => template('bind/view.erb'),
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user