From c6bfae8c9f6d8a5b6ec923964dc7ae9992245286 Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Tue, 10 May 2016 10:28:54 +0000 Subject: [PATCH] Add sudo to easy_install pip If pip installation is required in run_tests.sh it must be executed with sudo for non-root users. Change-Id: I0d89a6027d129c9b69811dde4d542f7bc13ca46a --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 4a9cc4dc6..f25c75dad 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -149,7 +149,7 @@ $SUDO yum -y install puppet \ "@Development Tools" # Don't assume pip is installed -which pip || easy_install pip +which pip || $SUDO easy_install pip # TO-DO: Packstack should handle Hiera and Puppet configuration, so that it works # no matter the environment