puppet-bind/manifests/view.pp
Alex Frolkin 0f5d3e6019 Add support for notify-source and also-notify
Conflicts:
	templates/view.erb
2016-04-15 15:29:31 +01:00

24 lines
724 B
Puppet

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