Commit d74be89c authored by David Johnson's avatar David Johnson

Add a couple missing fallback-to-EOL wgets.

The openstack people rename their branches to -eol variants, and so that
tarballs keep working in perpetuity despite us needing to download some
things, we first try the stable/<release> tag, then fall back to
<release>-eol tag.  Sigh...
parent 3b8bde10
......@@ -351,6 +351,10 @@ EOF
mkdir -p /var/www/cgi-bin/keystone
wget -O /var/www/cgi-bin/keystone/admin "${OSCODENAME}"
if [ ! $? -eq 0 ]; then
# Try the EOL version...
wget -O /var/www/cgi-bin/keystone/admin "${OSCODENAME}-eol"
cp -p /var/www/cgi-bin/keystone/admin /var/www/cgi-bin/keystone/main
chown -R keystone:keystone /var/www/cgi-bin/keystone
chmod 755 /var/www/cgi-bin/keystone/*
......@@ -2170,6 +2174,10 @@ EOF
a2ensite wsgi-ceilometer
wget -O /usr/bin/ceilometer-wsgi-app${OSCODENAME}/ceilometer/api/app.wsgi
if [ ! $? -eq 0 ]; then
# Try the EOL version
wget -O /usr/bin/ceilometer-wsgi-app${OSCODENAME}-eol/ceilometer/api/app.wsgi
service apache2 reload
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment