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 41062eebbe
commit 88010d91f7

View File

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