Merge "gate: work with old and new devstack ceph plugin"

This commit is contained in:
Jenkins 2016-05-11 08:05:20 +00:00 committed by Gerrit Code Review
commit b78a8542b9
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,10 @@ case $STORAGE_DRIVER in
DEVSTACK_GATE_TEMPEST+=$'\nexport SWIFT_USE_MOD_WSGI=True'
;;
ceph)
ENABLED_SERVICES+="ceph"
if [ "${PROJECTS//devstack-plugin-ceph/}" == "$PROJECTS" ]; then
# Old fashion ceph plugin
ENABLED_SERVICES+="ceph"
fi
DEVSTACK_LOCAL_CONFIG+=$'\nexport GNOCCHI_STORAGE_BACKEND=ceph'
;;
esac