summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Jones <morgan@parelastic.com>2016-06-07 13:55:14 -0400
committerMorgan Jones <morgan@parelastic.com>2016-06-08 13:03:29 -0400
commit71d1887a997128f693b14c6148ee67427cd06f00 (patch)
tree43bf8d450be2e175b9b66dcd40da1d28b47e3ac4
parent075be84738c7017c762e42b5b7eebc8a9a1d8d84 (diff)
downloadtrove-integration-71d1887a997128f693b14c6148ee67427cd06f00.tar.gz
Support running Mistral under Redstack
Adds support for ENABLE_MISTRAL option to configure Mistral to run under redstack. Change-Id: Icddd5b34c30c5774e6b454c24f8373d30ca2da22
-rw-r--r--scripts/localrc.rc8
-rw-r--r--scripts/redstack.rc3
2 files changed, 11 insertions, 0 deletions
diff --git a/scripts/localrc.rc b/scripts/localrc.rc
index d6baa26..0acfd99 100644
--- a/scripts/localrc.rc
+++ b/scripts/localrc.rc
@@ -31,6 +31,11 @@ if [[ $ENABLE_CEILOMETER = true ]] || [[ $ENABLE_PROFILER = true ]]; then
enable_plugin ceilometer ${GIT_OPENSTACK}/ceilometer.git
fi
+# Enable Mistral, if configured
+if [[ $ENABLE_MISTRAL = true ]]; then
+ enable_plugin mistral ${GIT_OPENSTACK}/mistral.git
+fi
+
# Use Git repositories for client components
LIBS_FROM_GIT=python-troveclient
if [[ $LIBS_FROM_GIT_ALL_CLIENTS = true ]]; then
@@ -40,6 +45,9 @@ if [[ $LIBS_FROM_GIT_ALL_CLIENTS = true ]]; then
if [[ $ENABLE_NEUTRON = true ]]; then
LIBS_FROM_GIT+=,python-neutronclient
fi
+ if [[ $ENABLE_MISTRAL = true ]]; then
+ LIBS_FROM_GIT+=,python-mistralclient
+ fi
LIBS_FROM_GIT+=,python-novaclient,python-openstackclient
LIBS_FROM_GIT+=,python-swiftclient
fi
diff --git a/scripts/redstack.rc b/scripts/redstack.rc
index 62e500f..bfd49ef 100644
--- a/scripts/redstack.rc
+++ b/scripts/redstack.rc
@@ -21,6 +21,9 @@ PROFILER_TRACE_SQL=$(get_bool PROFILER_TRACE_SQL false)
# Enable ceilometer
ENABLE_CEILOMETER=$(get_bool ENABLE_CEILOMETER $ENABLE_PROFILER)
+# Enable Mistral
+ENABLE_MISTRAL=$(get_bool ENABLE_MISTRAL false)
+
# Enable LIBS_FROM_GIT
LIBS_FROM_GIT_ALL_CLIENTS=$(get_bool LIBS_FROM_GIT_ALL_CLIENTS false)
LIBS_FROM_GIT_ALL_OSLO=$(get_bool LIBS_FROM_GIT_ALL_OSLO false)