Remove redundant `install_nodejs` function
The change removes the redundant `install_nodejs` function. After merging the DevStack plugins function is available in plugin.sh already. Change-Id: I5e4d6e5b05f9506ba87bdecb601e411b8496453c
This commit is contained in:
parent
7b06211d2f
commit
8d31013da5
|
@ -716,25 +716,6 @@ function start_monasca_log_agent {
|
|||
fi
|
||||
}
|
||||
|
||||
function install_nodejs {
|
||||
if is_service_enabled kibana; then
|
||||
# refresh installation
|
||||
apt_get install nodejs npm
|
||||
(
|
||||
npm config set registry "http://registry.npmjs.org/"; \
|
||||
npm config set proxy "${HTTP_PROXY}"; \
|
||||
npm set strict-ssl false;
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
function clean_nodejs {
|
||||
if is_service_enabled kibana; then
|
||||
echo_summary "Cleaning Node.js"
|
||||
apt_get purge nodejs npm
|
||||
fi
|
||||
}
|
||||
|
||||
function clean_gate_config_holder {
|
||||
sudo rm -rf $GATE_CONFIGURATION_DIR || true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue