From 10f416136b8cd8e7c42c65f3cc97f75281719687 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Fri, 25 Apr 2014 11:42:41 +0400 Subject: [PATCH] Expose enabled plugins for Sahara Make devstack users able to specify enabled plugins. By default enable vanilla, hdp and fake plugins. Fake plugin is needed for gate testing. Change-Id: Ia557eafe19b7d8eb62b6511d8d5331a106ef4bc2 --- lib/sahara | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/sahara b/lib/sahara index 64e82eb10d..55131f9072 100644 --- a/lib/sahara +++ b/lib/sahara @@ -35,6 +35,8 @@ 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,fake} + # Support entry points installation of console scripts if [[ -d $SAHARA_DIR/bin ]]; then SAHARA_BIN_DIR=$SAHARA_DIR/bin @@ -130,6 +132,8 @@ function configure_sahara { iniset $SAHARA_CONF_FILE DEFAULT verbose True iniset $SAHARA_CONF_FILE DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL + iniset $SAHARA_CONF_FILE DEFAULT plugins $SAHARA_ENABLED_PLUGINS + iniset $SAHARA_CONF_FILE database connection `database_connection_url sahara` if is_service_enabled neutron; then