tripleo-image-elements/elements/horizon
Dan Prince 6b0c899dac Heat/Horizon/Tempest: don't hard code venv dir
Updates the heat/horizon/tempest elements so that we use a new
{SERVICE}_VENV_DIR variable (set via an environment.d hook)
to configure the virtualenv directory.

For the Horizon element the HTTP config file was moved into
the install.d directory so that we can perform an inline
in element replacement on the HORIZON_VENV_DIR. This file was already
static so this should have no effect on its use today.

For Horizon's local_settings.py we have the tempate render itself
to /etc/horizon/local_settings.py and then copy it via
os-refresh-configs post-configure to the final $HORIZON_VENV_DIR.

For the Tempest element we soft link testr into the $PATH so
as to avoid a hard coded path to the venv dir in the run-tempest
bin file.

This is cleaner in that we aren't hard coding /opt/stack/venv
everywhere and also supports both isolated and shared
venvs (which some people would like to use).

Change-Id: I6cf282dc8d8fd806d8dd0bdb21d5afb93243bd3f
2014-03-13 20:19:40 -04:00
..
environment.d Heat/Horizon/Tempest: don't hard code venv dir 2014-03-13 20:19:40 -04:00
files Heat/Horizon/Tempest: don't hard code venv dir 2014-03-13 20:19:40 -04:00
install.d Heat/Horizon/Tempest: don't hard code venv dir 2014-03-13 20:19:40 -04:00
os-apply-config/etc/horizon Heat/Horizon/Tempest: don't hard code venv dir 2014-03-13 20:19:40 -04:00
os-refresh-config Heat/Horizon/Tempest: don't hard code venv dir 2014-03-13 20:19:40 -04:00
README.md Add Horizon element 2013-10-31 15:57:13 +01:00
element-deps Moving iptables rules to the relevant elements 2014-01-28 06:31:54 -05:00
source-repository-horizon Don't use /cgit/ urls for git. 2014-02-21 15:25:12 +13:00

README.md

Installs OpenStack Dashboard (Horizon) from git.

Horizon runs on port 80 behind Apache using mod_wsgi.

Configuration

We use the keystone.host key to connect to Keystone and horizon.secret_key as the Django secret key.