Use py3 with elastic-recheck

Depends-On: https://review.opendev.org/#/c/747056/
Change-Id: I90c3784eb8c93616cba1270cd7c5a9babb5c440f
This commit is contained in:
Sorin Sbarnea 2020-05-19 18:43:20 +01:00 committed by Sorin Sbarnea (zbr)
parent 6e2b3aa762
commit b3ce51fe2a
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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'],