Browse code

Merge "Copy nova-api-paste.ini if n-api* is enabled"

Jenkins authored on 2014/11/27 00:42:29
Showing 1 changed files
... ...
@@ -257,7 +257,7 @@ function configure_nova {
257 257
 
258 258
     configure_nova_rootwrap
259 259
 
260
-    if is_service_enabled n-api; then
260
+    if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
261 261
         # Remove legacy paste config if present
262 262
         rm -f $NOVA_DIR/bin/nova-api-paste.ini
263 263