36 lines
1.2 KiB
Puppet
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 $supported.is_a(Boolean) {
|
|
fail('Please ensure that the dependencies of the bind module are installed and working correctly')
|
|
}
|
|
|
|
unless $supported {
|
|
fail('Platform is not supported')
|
|
}
|
|
}
|