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:
Clark Boylan 2012-08-24 14:45:45 -07:00 committed by Jenkins
parent 87f7a7c132
commit 9ce9496d6c
1 changed files with 1 additions and 1 deletions

View File

@ -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]
}