diff --git a/manifests/init.pp b/manifests/init.pp index 3f63d2e..0da5bbd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -46,9 +46,8 @@ class elastic_recheck ( include pip exec { 'install_elastic-recheck' : - command => 'python setup.py install', - cwd => '/opt/elastic-recheck', - path => '/bin:/usr/bin', + command => 'pip install /opt/elastic-recheck', + path => '/usr/local/bin:/usr/bin:/bin/', refreshonly => true, notify => Service['elastic-recheck'], subscribe => Vcsrepo['/opt/elastic-recheck'],