264174500c
sahara-dashboard has been removed in the commit: Change-Id: I1f0e93e1dee3d065c4f00d8bf2042bebc8d45a22 However, there is still sahara-dashboard in extras.d/70-sahara.sh. This causes an error. /opt/stack/new/devstack/extras.d/70-sahara.sh: line 7: /opt/stack/new/devstack/lib/sahara-dashboard: No such file or directory So this commit just removes it. Change-Id: Iae76dc5f92a1f0a557d43d74b9b5d2c347cc23a9 Closes-Bug: #1363828
29 lines
789 B
Bash
29 lines
789 B
Bash
# sahara.sh - DevStack extras script to install Sahara
|
|
|
|
if is_service_enabled sahara; then
|
|
if [[ "$1" == "source" ]]; then
|
|
# Initial source
|
|
source $TOP_DIR/lib/sahara
|
|
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
|
|
echo_summary "Installing sahara"
|
|
install_sahara
|
|
install_python_saharaclient
|
|
cleanup_sahara
|
|
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
|
|
echo_summary "Configuring sahara"
|
|
configure_sahara
|
|
create_sahara_accounts
|
|
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
|
|
echo_summary "Initializing sahara"
|
|
start_sahara
|
|
fi
|
|
|
|
if [[ "$1" == "unstack" ]]; then
|
|
stop_sahara
|
|
fi
|
|
|
|
if [[ "$1" == "clean" ]]; then
|
|
cleanup_sahara
|
|
fi
|
|
fi
|