It feels like the right think to do. Moreover it will avoid to display
horizon errors from a previous devstack run that would be displayed because
of the tail -f in start_horizon()
Change-Id: Id1ab272e60e0733a4feef3b85029f438f2273cb0
RHEL6 has no nodejs in main packages or in EPEL. The easiest way is
to just install the upstream binary version which works fine for the
very minimal usage by lesscss.
Change-Id: Ia35e7dbaf4c7add43797d6b7d0c846bab1cf0cb0
Fixes bug: 1167066
Summary:
1. Starting with fedora 18 the httpd.conf has
<Directory />
AllowOverride none
Require all denied
</Directory>
which requires you to explicitly permit access to web content
directories in other <Directory> blocks
2. Install nodejs on fedora 18 and above
Change-Id: I487a7a74bad6627d32c1081dcbe48630a704a106
for files that don't start with a #! or end in .sh, the added tags
are nice for emacs users to automatically switch to the right mode.
Change-Id: If4b93e106191bc744ccad8420cef20e751cdf902
The current horizon_settings.py in devstack is out-of-date and we
tend to forget to update this file. This commit changes devstack
to use the example settings in horizon repo.
Change-Id: I0bb6af21a806a72ed59f31b094dd21da85ca335e
Fedora/RHEL use httpd for the package name of httpd. This is handled
in other parts of the horizon startup code, but not in shutdown.
Change-Id: I2732dad652d83a9cbe055f5f077678b7111ca782
Fixes: bug #1099538
- Use right package files for openSUSE in tools/info.sh
- Use a2enmod to enable the wsgi apache module
Change-Id: I51e3019be32dc0938674c9c8d285a55f5b023707
Between is_fedora, is_ubuntu and is_suse, we can make the code a bit
simpler to read. We also use exit_distro_not_supported to identify
places where we need implementation details for new distros.
As "/sbin/service --skip-redirect" is Fedora-specific, guard this with a
is_fedora test too.
Change-Id: Ic77c0697ed9be0dbb5df8e73da93463e76025f0c
This replaces all of the [[ "$os_PACKAGE" = "deb" ]] tests, except when
those tests are before straight calls to dpkg.
Change-Id: I8a3ebf1b1bc5a55d736f9258d5ba1d24dabf04ea
It should be the group of the effective apache user.
For example, on openSUSE, we use wwwrun:www for apache and $USER:users
for users.
Change-Id: I8e12a8d90d45cfd18e67a41cf5462216ae404733
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
Note that this is the first part of the support. A second part involves
dealing with the package names.
Among the changes:
- add several functions to determine some distro-specific behavior (how
to call usermod, if some features are available on the distro, etc.)
- correctly detect openSUSE and SLE in GetOSVersion, and set DISTRO
accordingly
- new is_suse() function to check if running on a SUSE-based distro
- use zypper to install packages
- adapt apache virtual host configuration for openSUSE
- some simple fixes (path to pip, mysql service name)
Change-Id: Id2f7c9e18a1c4a7b7cea262ea7959d183e4b0cf0
pre holiday refactor extrodinare, get the horizon code
over fully into lib/horizon so that all these fixes aren't
scattered through stack.sh
Change-Id: I7f26c5c6708d5693048eb7b1ce792122adbc7351