devstack: add zun client to devstack

devstack: add zun client to devstack

Closes-bug: #1614421
Depends-On: I8b4e4fc25f53836c074a22421844ee52c6a80433
Change-Id: I733f3860463c77c8b7ea6c7c02dfffc5bfe37dfb
This commit is contained in:
Eli Qiao 2016-08-18 16:24:58 +08:00
parent de62447de0
commit fcf46e8b5d
2 changed files with 7 additions and 4 deletions

View File

@ -33,6 +33,10 @@ ZUN_REPO=${ZUN_REPO:-${GIT_BASE}/openstack/higgins.git}
ZUN_BRANCH=${ZUN_BRANCH:-master}
ZUN_DIR=$DEST/higgins
GITREPO["python-zunclient"]=${ZUNCLIENT_REPO:-${GIT_BASE}/openstack/python-zunclient.git}
GITBRANCH["python-zunclient"]=${ZUNCLIENT_BRANCH:-master}
GITDIR["python-zunclient"]=$DEST/python-zunclient
ZUN_STATE_PATH=${ZUN_STATE_PATH:=$DATA_DIR/zun}
ZUN_AUTH_CACHE_DIR=${ZUN_AUTH_CACHE_DIR:-/var/cache/zun}

View File

@ -13,11 +13,10 @@ if is_service_enabled zun-api zun-compute; then
echo_summary "Installing zun"
install_zun
# TODO
# LIBS_FROM_GIT="${LIBS_FROM_GIT},python-zunclient"
# install_zunclient
LIBS_FROM_GIT="${LIBS_FROM_GIT},python-zunclient"
install_zunclient
cleanup_zun
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
echo_summary "Configuring zun"
configure_zun