devstack/extras.d/70-zaqar.sh
Malini Kamalambal 9504bb376d Rename Marconi to Zaqar
This patch changes all Marconi references to Zaqar.

Change-Id: Iec4aeca54c0f383c995fba564bc59daa550d3747
Implements: blueprint project-rename
2014-08-18 14:59:49 -04:00

30 lines
793 B
Bash

# zaqar.sh - Devstack extras script to install Zaqar
if is_service_enabled zaqar-server; then
if [[ "$1" == "source" ]]; then
# Initial source
source $TOP_DIR/lib/zaqar
elif [[ "$1" == "stack" && "$2" == "install" ]]; then
echo_summary "Installing Zaqar"
install_zaqarclient
install_zaqar
elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
echo_summary "Configuring Zaqar"
configure_zaqar
configure_zaqarclient
if is_service_enabled key; then
create_zaqar_accounts
fi
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
echo_summary "Initializing Zaqar"
init_zaqar
start_zaqar
fi
if [[ "$1" == "unstack" ]]; then
stop_zaqar
fi
fi