Use pip install instead of setup.py install

The pip vs. easy_install interactions continually get the systems
into a weird state. pip install $path_to_repo, on the other hand,
works like a charm.

Left out two graphite installs because they are doing path manipulation
and I want to do further testing before touching that.

Change-Id: I373b29aca03f1ebd20e533ebaaf5de9ef2db017e
This commit is contained in:
Monty Taylor 2013-10-10 14:17:16 -04:00
parent 6b2ea4462e
commit 5b983a1d65
1 changed files with 2 additions and 3 deletions

View File

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