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:
+2
-1
@@ -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'),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user