enable mod_wsgi on horizon_init

on a clean ubuntu environment wsgi wasn't getting enabled
ensure that it actually turns on wsgi to that apache can start

Change-Id: I9c74f7c5d5d2f995843b2a649a52f7159c7de314
This commit is contained in:
Sean Dague 2012-11-29 14:20:34 -05:00
parent 318408c9a8
commit e1864c37f3

View File

@ -79,6 +79,8 @@ function init_horizon() {
# Be a good citizen and use the distro tools here
sudo touch /etc/$APACHE_NAME/$APACHE_CONF
sudo a2ensite horizon
# WSGI doesn't enable by default, enable it
sudo a2enmod wsgi
else
# Install httpd, which is NOPRIME'd
if is_suse; then