90a9a48f21
In devstack if we install the client then copy the bash completion script to its folder. also use the standart devstack function to install the mistral client Change-Id: I69ca615ed446214463f8fa7a3e303ff0bf32b460
44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
# Devstack settings
|
|
|
|
# We have to add Mistral to enabled services for run_process to work
|
|
# "mistral" should be always enabled
|
|
# To run services in separate processes and screens need to write:
|
|
# enable_service mistral mistral-api mistral-engine mistral-executor
|
|
# To run all services in one screen as a one process need to write:
|
|
# enable_service mistral
|
|
# All other combinations of services like 'mistral mistral-api' or 'mistral mistral-api mistral-engine'
|
|
# is an incorrect way to run services and all services by default will run in one screen
|
|
|
|
|
|
enable_service mistral mistral-api mistral-engine mistral-executor mistral-event-engine
|
|
|
|
|
|
# Set up default repos
|
|
MISTRAL_REPO=${MISTRAL_REPO:-${GIT_BASE}/openstack/mistral.git}
|
|
MISTRAL_BRANCH=${MISTRAL_BRANCH:-master}
|
|
MISTRAL_DASHBOARD_REPO=${MISTRAL_DASHBOARD_REPO:-${GIT_BASE}/openstack/mistral-dashboard.git}
|
|
MISTRAL_DASHBOARD_BRANCH=${MISTRAL_DASHBOARD_BRANCH:-master}
|
|
|
|
MISTRAL_LIB_REPO=${MISTRAL_LIB_REPO:-${GIT_BASE}/openstack/mistral-lib.git}
|
|
MISTRAL_LIB_BRANCH=${MISTRAL_LIB_BRANCH:-master}
|
|
MISTRAL_LIB_DIR=${DEST}/mistral-lib
|
|
|
|
GITDIR["python-mistralclient"]=${DEST}/python-mistralclient
|
|
GITREPO["python-mistralclient"]=${MISTRALCLIENT_REPO:-${GIT_BASE}/openstack/python-mistralclient.git}
|
|
GITBRANCH["python-mistralclient"]=${MISTRALCLIENT_BRANCH:-master}
|
|
|
|
# Set up default directories
|
|
MISTRAL_DIR=${DEST}/mistral
|
|
MISTRAL_DASHBOARD_DIR=${DEST}/mistral-dashboard
|
|
MISTRAL_CONF_DIR=${MISTRAL_CONF_DIR:-/etc/mistral}
|
|
MISTRAL_CONF_FILE=${MISTRAL_CONF_DIR}/mistral.conf
|
|
MISTRAL_DEBUG=${MISTRAL_DEBUG:-True}
|
|
MISTRAL_AUTH_CACHE_DIR=${MISTRAL_AUTH_CACHE_DIR:-/var/cache/mistral}
|
|
|
|
MISTRAL_SERVICE_HOST=${MISTRAL_SERVICE_HOST:-$SERVICE_HOST}
|
|
MISTRAL_SERVICE_PORT=${MISTRAL_SERVICE_PORT:-8989}
|
|
MISTRAL_SERVICE_PROTOCOL=${MISTRAL_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
|
|
|
|
MISTRAL_ADMIN_USER=${MISTRAL_ADMIN_USER:-mistral}
|
|
|