cfce054e8c
Add cleanup method in devstack scripts which remove /tmp/keystone-signing-muranoapi Change-Id: Ie2a35c0c8ee99434aaed39e3da055785cb78ca3c Closes-bug: #1346400
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# murano.sh - DevStack extras script to install Murano
|
|
|
|
if is_service_enabled murano; then
|
|
if [[ "$1" == "source" ]]; then
|
|
# Initial source
|
|
source $TOP_DIR/lib/murano
|
|
if is_service_enabled horizon; then
|
|
source $TOP_DIR/lib/murano-dashboard
|
|
fi
|
|
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
|
|
echo_summary "Installing Murano"
|
|
install_murano
|
|
if is_service_enabled horizon; then
|
|
install_murano_dashboard
|
|
fi
|
|
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
|
|
echo_summary "Configuring Murano"
|
|
configure_murano
|
|
create_murano_accounts
|
|
if is_service_enabled horizon; then
|
|
configure_murano_dashboard
|
|
fi
|
|
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
|
|
echo_summary "Initializing Murano"
|
|
init_murano
|
|
if is_service_enabled horizon; then
|
|
init_murano_dashboard
|
|
fi
|
|
start_murano
|
|
fi
|
|
|
|
if [[ "$1" == "unstack" ]]; then
|
|
stop_murano
|
|
cleanup_murano
|
|
fi
|
|
fi
|