diff --git a/manifests/bot.pp b/manifests/bot.pp index cd03e72..c3343ca 100644 --- a/manifests/bot.pp +++ b/manifests/bot.pp @@ -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, diff --git a/manifests/init.pp b/manifests/init.pp index 53c5fd0..98ad33f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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'],