dd1bc6ed6c
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
23 lines
521 B
Bash
23 lines
521 B
Bash
# DevStack extras script to install Rally
|
|
|
|
# Save trace setting
|
|
XTRACE=$(set +o | grep xtrace)
|
|
set -o xtrace
|
|
|
|
DIR=$(dirname ${BASH_SOURCE[0]})
|
|
source $DIR/lib/rally
|
|
|
|
if [[ "$1" == "stack" && "$2" == "install" ]]; then
|
|
echo_summary "Installing Rally"
|
|
install_rally
|
|
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
|
|
echo_summary "Configuring Rally"
|
|
configure_rally
|
|
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
|
|
echo_summary "Initializing Rally"
|
|
init_rally
|
|
fi
|
|
|
|
# Restore xtrace
|
|
$XTRACE
|