RedHat's default zones are baked into the stock named.conf, which the module's template completely rewrites. Since the module is extremely view-based, and the Debian default-zones are repositioned into the zones, let's take those defaults out of the stock named.conf, build a configuration file out of them and include it in the view just the same.
26 lines
802 B
Puppet
26 lines
802 B
Puppet
# ex: syntax=puppet si ts=4 sw=4 et
|
|
|
|
class bind::defaults (
|
|
$supported = undef,
|
|
$confdir = undef,
|
|
$namedconf = undef,
|
|
$cachedir = undef,
|
|
$random_device = undef,
|
|
$bind_user = undef,
|
|
$bind_group = undef,
|
|
$bind_package = undef,
|
|
$bind_service = undef,
|
|
$nsupdate_package = undef,
|
|
$managed_keys_directory = undef,
|
|
$default_zones_warning = undef,
|
|
$default_zones_include = undef,
|
|
$default_zones_source = 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')
|
|
}
|
|
}
|