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

View File

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