Files
63d874e4af67893effbd1ef9daf150fc41d15eec
devstack /lib /stack

41 lines
1.4 KiB
Plaintext
Raw Normal View History

#
# lib/stack
#
# These functions are code snippets pulled out of ``stack.sh`` for easier
# as in the lower part of ``stack.sh``, namely a valid stackrc has been sourced
# as well as all of the ``lib/*`` files for the services have been sourced.
# For clarity, all functions declared here that came from ``stack.sh``
# shall be named with the prefix ``stack_``.
# ---------
function stack_install_service {
local service=1ドル
if type install_${service} >/dev/null 2>&1; then
# Install other OpenStack prereqs that might come from source repos
install_oslo
install_keystonemiddleware
install_${service}
fi
echo "No function declared with name 'install_${service}'."
exit 1
}