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
| ... | ... |
@@ -35,6 +35,8 @@ SAHARA_SERVICE_PROTOCOL=${SAHARA_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
|
| 35 | 35 |
|
| 36 | 36 |
SAHARA_AUTH_CACHE_DIR=${SAHARA_AUTH_CACHE_DIR:-/var/cache/sahara}
|
| 37 | 37 |
|
| 38 |
+SAHARA_ENABLED_PLUGINS=${SAHARA_ENABLED_PLUGINS:-vanilla,hdp,fake}
|
|
| 39 |
+ |
|
| 38 | 40 |
# Support entry points installation of console scripts |
| 39 | 41 |
if [[ -d $SAHARA_DIR/bin ]]; then |
| 40 | 42 |
SAHARA_BIN_DIR=$SAHARA_DIR/bin |
| ... | ... |
@@ -130,6 +132,8 @@ function configure_sahara {
|
| 130 | 130 |
iniset $SAHARA_CONF_FILE DEFAULT verbose True |
| 131 | 131 |
iniset $SAHARA_CONF_FILE DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL |
| 132 | 132 |
|
| 133 |
+ iniset $SAHARA_CONF_FILE DEFAULT plugins $SAHARA_ENABLED_PLUGINS |
|
| 134 |
+ |
|
| 133 | 135 |
iniset $SAHARA_CONF_FILE database connection `database_connection_url sahara` |
| 134 | 136 |
|
| 135 | 137 |
if is_service_enabled neutron; then |