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
This commit is contained in:
parent
4c37e48998
commit
c6bfae8c9f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue