From 00623af0c4020400f3e05fb529f016cb75a2ecb0 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 24 Aug 2012 14:45:45 -0700 Subject: [PATCH] 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 Reviewed-by: Clark Boylan Tested-by: Jenkins --- modules/gerritbot/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gerritbot/manifests/init.pp b/modules/gerritbot/manifests/init.pp index 69001823ff..84f86be9de 100644 --- a/modules/gerritbot/manifests/init.pp +++ b/modules/gerritbot/manifests/init.pp @@ -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] }