puppet-bind/manifests/defaults.pp
2023-09-12 12:53:08 -05:00

36 lines
1.2 KiB
Puppet

# ex: syntax=puppet si ts=4 sw=4 et
class bind::defaults (
$supported = undef,
$chroot_supported = undef,
$confdir = undef,
$namedconf = undef,
$cachedir = undef,
$logdir = undef,
$random_device = undef,
$bind_user = undef,
$bind_group = undef,
$bind_package = undef,
$bind_chroot_package = undef,
$bind_service = undef,
$bind_chroot_service = undef,
$bind_chroot_dir = undef,
$nsupdate_package = undef,
$managed_keys_directory = undef,
# NOTE: we need to be able to override this parameter when declaring class,
# especially when not using hiera (i.e. when using Foreman as ENC):
$default_zones_include = undef,
$default_zones_source = undef,
$isc_bind_keys = undef,
$chroot_class = undef,
$chroot_dir = undef,
) {
unless is_bool($supported) {
fail('Please ensure that the dependencies of the bind module are installed and working correctly')
}
unless $supported {
fail('Platform is not supported')
}
}