Fix a bunch of warnings whne using the bind::updater class by moving confdir to the params class. In order for this to work, the bind and bind::updater classes both now inherit from params. Also, fix the default value for managed_key_directory to something that's actually falsey.
18 lines
316 B
Puppet
18 lines
316 B
Puppet
# ex: syntax=puppet si ts=4 sw=4 et
|
|
|
|
class bind::updater (
|
|
$keydir = undef,
|
|
) inherits bind::params {
|
|
|
|
if $nsupdate_package {
|
|
package { 'nsupdate':
|
|
ensure => present,
|
|
name => $nsupdate_package,
|
|
}
|
|
}
|
|
|
|
class { 'bind::keydir':
|
|
keydir => $keydir,
|
|
}
|
|
}
|