
We're changing to upstream master soon, let's start running on the upstream devstack configuration. There is an undeclared dependency on cgtsclient in fm-rest-api so we need to work around that. Change-Id: If764701fce94fb760edf0a68805753d3804892c0 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
33 lines
711 B
Bash
33 lines
711 B
Bash
#!/bin/bash
|
|
# Devstack settings
|
|
|
|
# Services
|
|
# stx-fault - Overall enable for this plugin
|
|
# fm-client
|
|
# fm-common
|
|
# fm-api
|
|
# fm-rest-api
|
|
# fm-mgr
|
|
|
|
# Defaults
|
|
# --------
|
|
|
|
STX_FAULT_NAME=stx-fault
|
|
|
|
######### Plugin Specific ##########
|
|
enable_service $STX_FAULT_NAME
|
|
|
|
# Circular dependencies are fun!
|
|
# fm-rest-api has an undeclared dependency on cgtsclient from stx-config
|
|
# so if that is not present we can't install it
|
|
if ! is_service_enabled stx-config; then
|
|
disable_service fm-rest-api
|
|
fi
|
|
# but fm-rest-api has its own (declared!) external dependencies too
|
|
if is_service_enabled fm-rest-api; then
|
|
enable_service tsconfig
|
|
fi
|
|
|
|
# Initial source of lib script
|
|
source $DEST/stx-fault/devstack/lib/stx-fault
|