Fix jeepyb: protect pygithub requirement.

Change-Id: I6b4db1dc08342018cae6203cbecbee69956c5918
Reviewed-on: https://review.openstack.org/17261
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair 2012-11-30 15:15:49 -08:00 committed by Jenkins
parent cbc3b43cdc
commit c153dbb0a3
1 changed files with 6 additions and 4 deletions

View File

@ -10,10 +10,12 @@ class github(
include jeepyb
include pip
package { 'PyGithub':
ensure => latest, # okay to use latest for pip
provider => pip,
require => Class['pip'],
if ! defined(Package['Pygithub']) {
package { 'PyGithub':
ensure => latest, # okay to use latest for pip
provider => pip,
require => Class['pip'],
}
}
# A lot of things need yaml, be conservative requiring this package to avoid