WIP: Use py3 with elastic-recheck

Change-Id: I90c3784eb8c93616cba1270cd7c5a9babb5c440f
This commit is contained in:
Sorin Sbarnea 2020-05-19 18:43:20 +01:00
parent 6e2b3aa762
commit b83874a873
1 changed files with 3 additions and 3 deletions

View File

@ -39,13 +39,13 @@ class elastic_recheck (
source => $git_source_repo,
}
include ::pip
include pip::python3
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'],
require => Class['pip'],
require => Class['::pip::python3'],
}
file { '/usr/local/bin/er_safe_run.sh':