devstack: support to be enabled with different plugin name
Allow rally to be installed by devstack through a different plugin name, e.g: enable_plugin test-rally http://github.com/rally/rally.git master Change-Id: I43be7f7beba83ac63f6e16bdac216a41f4e2f057 Closes-Bug: #1560833
This commit is contained in:
parent
fb51361337
commit
dd1bc6ed6c
@ -21,7 +21,8 @@ set +o xtrace
|
||||
# --------
|
||||
|
||||
# Set up default directories
|
||||
RALLY_DIR=$DEST/rally
|
||||
DIR=$(dirname ${BASH_SOURCE[0]})
|
||||
RALLY_DIR=$(readlink -m $DIR/../..)
|
||||
RALLY_CONF_DIR=${RALLY_CONF_DIR:-/etc/rally}
|
||||
RALLY_CONF_FILE=rally.conf
|
||||
|
||||
|
@ -4,7 +4,8 @@
|
||||
XTRACE=$(set +o | grep xtrace)
|
||||
set -o xtrace
|
||||
|
||||
source $DEST/rally/devstack/lib/rally
|
||||
DIR=$(dirname ${BASH_SOURCE[0]})
|
||||
source $DIR/lib/rally
|
||||
|
||||
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
||||
echo_summary "Installing Rally"
|
||||
|
Loading…
Reference in New Issue
Block a user