Enable zun-etcd only if db type is etcd

Change-Id: Iccdae37a9c60aba92b4deb5c8c35d5ff898fb032
This commit is contained in:
Hongbin Lu 2017-02-03 17:49:29 -06:00
parent 3b6070dc3f
commit eb8cebf35e

View File

@ -18,4 +18,6 @@
# Enable Zun services
enable_service zun-api
enable_service zun-compute
enable_service zun-etcd
if [[ ${ZUN_DB_TYPE} == "etcd" ]]; then
enable_service zun-etcd
fi