Protect install of every jeepyb package.

Because puppet sucks at installing packages, wrap the installation of
everything that jeepyb needs in both jeepyb and in other places with
if blocks. *facepalm*

Change-Id: I69c73dabc3ea5d68bd057141b1ad758cdd68eafc
Reviewed-on: https://review.openstack.org/17130
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Monty Taylor 2012-11-29 09:48:44 -08:00 committed by Jenkins
parent 1d694ed2c0
commit 5fe0618c40
1 changed files with 7 additions and 2 deletions

View File

@ -7,8 +7,7 @@ class lodgeit {
'python-werkzeug',
'python-simplejson',
'python-pygments',
'drizzle',
'python-mysqldb' ]
'drizzle']
include apache
@ -24,6 +23,12 @@ class lodgeit {
ensure => present,
}
if ! defined(Package['python-mysqldb']) {
package { 'python-mysqldb':
ensure => present,
}
}
package { 'SQLAlchemy':
ensure => present,
provider => pip,