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:
Tilo Klausing 2015-01-12 12:05:52 +01:00
parent b7e585f2d9
commit f9ed618b36

View File

@ -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'),
}