From 88010d91f7730fc1b46500893fff993b88890bd9 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 10 Oct 2013 14:17:16 -0400 Subject: [PATCH] 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 --- manifests/init.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 546d6a1..6d6d114 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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'], }