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:
parent
1d694ed2c0
commit
5fe0618c40
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue