Merge pull request #78 from zipkid/77_bind_updater
fix #77 bind::updater on server
This commit is contained in:
commit
d605d38d16
@ -20,11 +20,12 @@ class bind (
|
||||
notify => Service['bind'],
|
||||
}
|
||||
|
||||
package{'bind-tools':
|
||||
ensure => latest,
|
||||
name => $nsupdate_package,
|
||||
before => Package['bind'],
|
||||
}
|
||||
include ::bind::updater
|
||||
# package{'bind-tools':
|
||||
# ensure => latest,
|
||||
# name => $nsupdate_package,
|
||||
# before => Package['bind'],
|
||||
# }
|
||||
|
||||
package { 'bind':
|
||||
ensure => latest,
|
||||
|
||||
@ -5,13 +5,13 @@ class bind::updater (
|
||||
) inherits bind::defaults {
|
||||
|
||||
if $nsupdate_package {
|
||||
package { 'nsupdate':
|
||||
package { 'bind-tools':
|
||||
ensure => present,
|
||||
name => $nsupdate_package,
|
||||
}
|
||||
}
|
||||
|
||||
class { 'bind::keydir':
|
||||
keydir => $keydir,
|
||||
}
|
||||
# class { 'bind::keydir':
|
||||
# keydir => $keydir,
|
||||
# }
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user