Create a bind::updater class to add support for the dns_rr resource on systems that will not have a BIND server installed or running.
16 lines
280 B
Puppet
16 lines
280 B
Puppet
# ex: syntax=puppet si ts=4 sw=4 et
|
|
|
|
class bind::updater (
|
|
$nsupdate_package,
|
|
$keydir =
|
|
) inherits bind::params {
|
|
package {'nsupdate':
|
|
name => $nsupdate_package,
|
|
ensure => present,
|
|
}
|
|
|
|
class { 'bind::keydir':
|
|
keydir => $keydir,
|
|
}
|
|
}
|