Use py3 with elastic-recheck
Depends-On: https://review.opendev.org/#/c/747056/ Change-Id: I90c3784eb8c93616cba1270cd7c5a9babb5c440f
This commit is contained in:
parent
6e2b3aa762
commit
b3ce51fe2a
@ -29,7 +29,7 @@ class elastic_recheck::bot (
|
||||
$recheck_ssh_public_key = undef,
|
||||
$subunit2sql_db_uri = 'mysql+pymysql://query:query@logstash.openstack.org/subunit2sql',
|
||||
) {
|
||||
include ::elastic_recheck
|
||||
include elastic_recheck
|
||||
|
||||
file { '/etc/elastic-recheck/elastic-recheck.conf':
|
||||
ensure => present,
|
||||
|
@ -39,9 +39,9 @@ class elastic_recheck (
|
||||
source => $git_source_repo,
|
||||
}
|
||||
|
||||
include ::pip
|
||||
include pip
|
||||
exec { 'install_elastic-recheck' :
|
||||
command => 'pip install /opt/elastic-recheck',
|
||||
command => 'pip3 install /opt/elastic-recheck',
|
||||
path => '/usr/local/bin:/usr/bin:/bin/',
|
||||
refreshonly => true,
|
||||
subscribe => Vcsrepo['/opt/elastic-recheck'],
|
||||
|
Loading…
Reference in New Issue
Block a user