deb-sahara/devstack/settings
Sergey Lukjanov 5fbd0108d9 Make infra engine configurable in devstack plugin
Currently the infra engine conf value only depends on the
availability of the heat service, but sometimes (for testing) we'd
like to enforce one of the values.

Change-Id: I157a127448243dc01a4b26bdb84acceaea55a822
2015-08-18 17:28:46 +03:00

35 lines
1.1 KiB
Plaintext

# Settings needed for the Sahara plugin
# -------------------------------------
# Set up default directories
SAHARACLIENT_DIR=$DEST/python-saharaclient
SAHARA_DIR=$DEST/sahara
SAHARACLIENT_REPO=${SAHARACLIENT_REPO:-${GIT_BASE}/openstack/python-saharaclient.git}
SAHARACLIENT_BRANCH=${SAHARACLIENT_BRANCH:-master}
SAHARA_CONF_DIR=${SAHARA_CONF_DIR:-/etc/sahara}
SAHARA_CONF_FILE=${SAHARA_CONF_DIR}/sahara.conf
# TODO(slukjanov): Should we append sahara to SSL_ENABLED_SERVICES?
if is_ssl_enabled_service "sahara" || is_service_enabled tls-proxy; then
SAHARA_SERVICE_PROTOCOL="https"
fi
SAHARA_SERVICE_HOST=${SAHARA_SERVICE_HOST:-$SERVICE_HOST}
SAHARA_SERVICE_PORT=${SAHARA_SERVICE_PORT:-8386}
SAHARA_SERVICE_PORT_INT=${SAHARA_SERVICE_PORT_INT:-18386}
SAHARA_SERVICE_PROTOCOL=${SAHARA_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
SAHARA_AUTH_CACHE_DIR=${SAHARA_AUTH_CACHE_DIR:-/var/cache/sahara}
SAHARA_ENABLED_PLUGINS=${SAHARA_ENABLED_PLUGINS:-vanilla,hdp,cdh,mapr,spark,storm,fake}
SAHARA_INFRA_ENGINE=${SAHARA_INFRA_ENGINE:-heat}
SAHARA_BIN_DIR=$(get_python_exec_prefix)
# Tell Tempest this project is present
TEMPEST_SERVICES+=,sahara
enable_service sahara