puppet-bind/manifests/view.pp
Nate Riffe 7a74314a1e Make it all work again.
Previous iterations and even a release were all broken. The module works again,
sorry for the interlude.

- Giving up on params and moving to module_data (WIP)
- Change the Package and Service references to the static 'bind' name
- Add a meager amount of test coverage
2015-01-08 08:09:32 -06:00

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