diff --git a/install_puppet.sh b/install_puppet.sh index f83d1c4977..a50b882f96 100755 --- a/install_puppet.sh +++ b/install_puppet.sh @@ -110,12 +110,13 @@ function setup_puppet_fedora { # and then something like devstack does a "yum install # python-requests" which does a very bad job at overwriting the # pip-installed version (symlinks and existing directories don't - # mix). The solution is to pre-install the python-requests + # mix). A solution is to pre-install the python-requests # package; clear it out and re-install from pip. This way, the # package is installed for dependencies, and we have a pip-managed # requests with correctly vendored sub-packages. sudo ${YUM} install -y python-requests sudo rm -rf /usr/lib/python2.7/site-packages/requests/* + sudo rm -rf /usr/lib/python2.7/site-packages/requests-*.{egg,dist}-info sudo pip install requests }