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 b18e83eaf6
commit db46fa2125
1 changed files with 2 additions and 3 deletions

View File

@ -60,9 +60,8 @@ class graphite(
}
exec { 'install_whisper' :
command => 'python setup.py install',
cwd => '/opt/whisper',
path => '/bin:/usr/bin',
command => 'pip install /opt/whisper',
path => '/usr/local/bin:/usr/bin:/bin/',
refreshonly => true,
subscribe => Vcsrepo['/opt/whisper'],
}