Use the mysql class to get python-mysql.
Change-Id: I6d6addc2bc0e28b289726cddd6626669dbec1e17 Reviewed-on: https://review.openstack.org/17292 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
bd2052b07f
commit
3425cb3762
@ -146,11 +146,13 @@ class gerrit(
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
if ! defined(Package['gerritlib']) {
|
||||
package { 'gerritlib':
|
||||
ensure => latest,
|
||||
provider => 'pip',
|
||||
require => Class[pip],
|
||||
}
|
||||
}
|
||||
|
||||
file { '/var/log/gerrit':
|
||||
ensure => directory,
|
||||
|
@ -4,12 +4,6 @@ class jeepyb (
|
||||
$git_source_repo = 'https://github.com/openstack-ci/jeepyb.git',
|
||||
) {
|
||||
|
||||
if ! defined(Package['python-mysqldb']) {
|
||||
package { 'python-mysqldb':
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
||||
if ! defined(Package['python-paramiko']) {
|
||||
package { 'python-paramiko':
|
||||
ensure => present,
|
||||
@ -52,6 +46,7 @@ class jeepyb (
|
||||
cwd => '/opt/jeepyb',
|
||||
path => '/bin:/usr/bin',
|
||||
refreshonly => true,
|
||||
require => Class['mysql::python'],
|
||||
subscribe => Vcsrepo['/opt/jeepyb'],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user