From 9898406b1445ed853b2d5e31c8e4727ca539c462 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 4 Jan 2017 16:14:25 +0000 Subject: [PATCH] Use pip instead of setup.py when installing Askbot Calling python setup.py install seems to not properly uninstall the old version of Askbot, but using pip install upgrades correctly and is more in line with our usual pattern in other modules. Change-Id: Iec6aef76a2ddf155dba26f37cefa94439c47e829 --- manifests/install.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/install.pp b/manifests/install.pp index 1a746b5..f50e36e 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -115,7 +115,7 @@ class askbot::install ( exec { 'askbot-install': path => [ '/bin', '/sbin' , '/usr/bin', '/usr/sbin', '/usr/local/bin' ], cwd => "${dist_root}/askbot", - command => '/usr/askbot-env/bin/python setup.py -q install', + command => '/usr/askbot-env/bin/pip install .', logoutput => on_failure, subscribe => Git['askbot'], refreshonly => true,