From 3cb60185738922ad13efb584cee3001bbbf3ccba Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Mon, 28 Apr 2014 15:39:17 +0100 Subject: [PATCH] Replace raw.github.com with raw.githubusercontent.com raw.github.com now redirects to raw.githubusercontent.com and various curl commands are failing unless they include "-L". Change-Id: I07d9c2f9caa2abc82ffd57435335875df5fbc96f --- install_puppet.sh | 2 +- .../openstack_project/files/nodepool/scripts/cache_devstack.py | 2 +- modules/openstack_project/files/nodepool/scripts/fix_pip.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install_puppet.sh b/install_puppet.sh index d1f070d772..c061c0ed40 100755 --- a/install_puppet.sh +++ b/install_puppet.sh @@ -18,7 +18,7 @@ # Install pip using get-pip EZ_SETUP_URL=https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -PIP_GET_PIP_URL=https://raw.github.com/pypa/pip/master/contrib/get-pip.py +PIP_GET_PIP_URL=https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py curl -O $EZ_SETUP_URL || wget $EZ_SETUP_URL python ez_setup.py diff --git a/modules/openstack_project/files/nodepool/scripts/cache_devstack.py b/modules/openstack_project/files/nodepool/scripts/cache_devstack.py index a8abdcf109..e04f6f7c4d 100755 --- a/modules/openstack_project/files/nodepool/scripts/cache_devstack.py +++ b/modules/openstack_project/files/nodepool/scripts/cache_devstack.py @@ -158,7 +158,7 @@ def main(): # cache get-pip, because upstream network connection fails more # often than you might imagine. download( - 'https://raw.github.com/pypa/pip/master/contrib/get-pip.py', + 'https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py', 'get-pip.py') diff --git a/modules/openstack_project/files/nodepool/scripts/fix_pip.sh b/modules/openstack_project/files/nodepool/scripts/fix_pip.sh index 5f3124854a..84d4596675 100755 --- a/modules/openstack_project/files/nodepool/scripts/fix_pip.sh +++ b/modules/openstack_project/files/nodepool/scripts/fix_pip.sh @@ -23,7 +23,7 @@ for p in python-pip python3-pip ; do done # install pip using get-pip -PIP_GET_PIP_URL=https://raw.github.com/pypa/pip/master/contrib/get-pip.py +PIP_GET_PIP_URL=https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py if [ ! -f get-pip.py ] ; then curl -O $PIP_GET_PIP_URL || wget $PIP_GET_PIP_URL fi