Disable installing pypowervm by default
Add a configurable option to choose to install pypowervm from source, otherwise default to relying on it already being installed Change-Id: Ie9a9da4caa81d971f11c4c134f3c12552e18dae3
This commit is contained in:
parent
7f05a9745f
commit
c330518f43
|
@ -47,7 +47,10 @@ function configure_ceilometer_powervm {
|
|||
|
||||
# install_ceilometer_powervm() - Install ceilometer_powervm and necessary dependencies
|
||||
function install_ceilometer_powervm {
|
||||
install_pypowervm
|
||||
if [[ "$INSTALL_PYPOWERVM" == "True" ]]; then
|
||||
echo_summary "Installing pypowervm"
|
||||
install_pypowervm
|
||||
fi
|
||||
|
||||
# Install the ceilometer-powervm package
|
||||
setup_develop $CEILOMETER_POWERVM_DIR
|
||||
|
@ -79,7 +82,7 @@ function cleanup_ceilometer_powervm {
|
|||
if is_service_enabled pvm-ceilometer-acompute; then
|
||||
if [[ "$1" == "stack" && "$2" == "pre-install" ]]; then
|
||||
# Install NovaLink if set
|
||||
if [[ "$INSTALL_NOVALINK" == "True" ]]; then
|
||||
if [[ "$INSTALL_NOVALINK" = "True" ]]; then
|
||||
echo_summary "Installing NovaLink"
|
||||
install_novalink
|
||||
fi
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
enable_service pvm-ceilometer-acompute
|
||||
|
||||
# NovaLink install/upgrade settings
|
||||
INSTALL_NOVALINK=${INSTALL_NOVALINK:-False}
|
||||
INSTALL_NOVALINK=$(trueorfalse False INSTALL_NOVALINK)
|
||||
INSTALL_PYPOWERVM=$(trueorfalse False INSTALL_PYPOWERVM)
|
||||
PVM_ADMIN_GROUP=${PVM_ADMIN_GROUP:-pvm_admin}
|
||||
|
||||
# Ceilometer settings
|
||||
|
|
Loading…
Reference in New Issue