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'],
|
notify => Service['bind'],
|
||||||
}
|
}
|
||||||
|
|
||||||
package{'bind-tools':
|
include ::bind::updater
|
||||||
ensure => latest,
|
# package{'bind-tools':
|
||||||
name => $nsupdate_package,
|
# ensure => latest,
|
||||||
before => Package['bind'],
|
# name => $nsupdate_package,
|
||||||
}
|
# before => Package['bind'],
|
||||||
|
# }
|
||||||
|
|
||||||
package { 'bind':
|
package { 'bind':
|
||||||
ensure => latest,
|
ensure => latest,
|
||||||
|
|||||||
@ -5,13 +5,13 @@ class bind::updater (
|
|||||||
) inherits bind::defaults {
|
) inherits bind::defaults {
|
||||||
|
|
||||||
if $nsupdate_package {
|
if $nsupdate_package {
|
||||||
package { 'nsupdate':
|
package { 'bind-tools':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
name => $nsupdate_package,
|
name => $nsupdate_package,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class { 'bind::keydir':
|
# class { 'bind::keydir':
|
||||||
keydir => $keydir,
|
# keydir => $keydir,
|
||||||
}
|
# }
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user