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 e64e8193e3
commit 6fcd2deb22
1 changed files with 2 additions and 3 deletions

View File

@ -69,9 +69,8 @@ class jeepyb (
}
exec { 'install_jeepyb' :
command => 'python setup.py install',
cwd => '/opt/jeepyb',
path => '/bin:/usr/bin',
command => 'pip install /opt/jeepyb',
path => '/usr/local/bin:/usr/bin:/bin/',
refreshonly => true,
require => Class['mysql::python'],
subscribe => Vcsrepo['/opt/jeepyb'],