puppet-bind/manifests/view.pp
2014-06-15 10:08:55 -05:00

17 lines
406 B
Puppet

# ex: syntax=puppet si ts=4 sw=4 et
define bind::view (
$match_clients = 'any',
$match_destinations = '',
$zones = [],
$recursion = true,
) {
$confdir = $bind::params::confdir
concat::fragment { "bind-view-${name}":
order => '10',
target => "${bind::params::confdir}/views.conf",
content => template('bind/view.erb'),
}
}