Browse code

Re-enable Swift3 middleware support in DevStack

Because *swift* in no more allowed in ENABLED_SERVICES (see
I78222d7ee2ea8a281962129d5bcf06c118469510) swift3 middleware to
swift could not be installed anymore. This patch thighten a check
to allow swift3 (but not swift) in ENABLED_SERVICES.

Change-Id: I194f66ae7e5163e0e6178561b09f55024fdaa607

JordanP authored on 2014/04/28 17:38:34
Showing 1 changed files
... ...
@@ -150,7 +150,7 @@ if [[ ! ${DISTRO} =~ (precise|saucy|trusty|7.0|wheezy|sid|testing|jessie|f19|f20
150 150
 fi
151 151
 
152 152
 # Look for obsolete stuff
153
-if [[ ,${ENABLED_SERVICES} =~ ,"swift" ]]; then
153
+if [[ ,${ENABLED_SERVICES}, =~ ,"swift", ]]; then
154 154
     echo "FATAL: 'swift' is not supported as a service name"
155 155
     echo "FATAL: Use the actual swift service names to enable tham as required:"
156 156
     echo "FATAL: s-proxy s-object s-container s-account"