horizon: drop nodejs dependency

since commit a0739c9423a4c559b45af96fa4cdb30539dcdbd7, horizon use
a pure Python alternative to nodejs

Change-Id: I231b453e42c303c3cc29e8bea4d7b935fecdccd2
This commit is contained in:
Gonéri Le Bouder 2013-11-05 10:35:55 +01:00
parent 66c5424980
commit 394c11c721
5 changed files with 1 additions and 15 deletions

View File

@ -19,5 +19,3 @@ python-kombu
python-coverage
python-cherrypy3 # why?
python-migrate
nodejs
nodejs-legacy # dist:quantal

View File

@ -1,6 +1,5 @@
apache2 # NOPRIME
apache2-mod_wsgi # NOPRIME
nodejs
python-CherryPy # why? (coming from apts)
python-Paste
python-PasteDeploy

View File

@ -3,7 +3,6 @@ django-registration
gcc
httpd # NOPRIME
mod_wsgi # NOPRIME
nodejs # NOPRIME
pylint
python-anyjson
python-BeautifulSoup

View File

@ -153,15 +153,6 @@ function install_horizon() {
# Apache installation, because we mark it NOPRIME
install_apache_wsgi
# NOTE(sdague) quantal changed the name of the node binary
if is_ubuntu; then
if [[ ! -e "/usr/bin/node" ]]; then
install_package nodejs-legacy
fi
elif is_fedora && [[ $DISTRO =~ (rhel6) || "$os_RELEASE" -ge "18" ]]; then
install_package nodejs
fi
git_clone $HORIZON_REPO $HORIZON_DIR $HORIZON_BRANCH $HORIZON_TAG
}

View File

@ -76,8 +76,7 @@ fi
if [[ $DISTRO =~ (rhel6) ]]; then
# Disable selinux to avoid configuring to allow Apache access
# to Horizon files or run nodejs (LP#1175444)
# FIXME(dtroyer): see if this can be skipped without node or if Horizon is not enabled
# to Horizon files (LP#1175444)
if selinuxenabled; then
sudo setenforce 0
fi