Merge "Remove redundant `install_nodejs` function"

This commit is contained in:
Zuul 2020-05-31 13:52:01 +00:00 committed by Gerrit Code Review
commit a88d34ac5c
1 changed files with 0 additions and 19 deletions

View File

@ -732,25 +732,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
}