Ensure gerritbot is present and not latest.
Pip doesn't appear to be able to do a clean upgrade of gerritbot on oneiric. It should remove the old versions of gerritbot after installing the new versions but it does not. This confuses Puppet into thinking that it need to reinstall gerritbot 0.1.2 on each puppet run which restarts the IRC bot. To prevent this behavior ensure the package is present and not latest. Change-Id: I7729d126a7811b7e08541ed65ca48f4dc302ff6b Reviewed-on: https://review.openstack.org/11955 Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
7398b4b0d0
commit
00623af0c4
@ -9,7 +9,7 @@ class gerritbot(
|
||||
include pip
|
||||
|
||||
package { 'gerritbot':
|
||||
ensure => latest, # we want the latest from pip
|
||||
ensure => present, # Pip upgrade is not working
|
||||
provider => pip,
|
||||
require => Class[pip]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user