puppet-bind/manifests/view.pp
Tilo Klausing f9ed618b36 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
2015-01-12 15:44:18 +01:00

20 lines
561 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 = '',
$order = '10',
) {
$confdir = $::bind::confdir
concat::fragment { "bind-view-${name}":
order => $order,
target => "${::bind::confdir}/views.conf",
content => template('bind/view.erb'),
}
}