diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-05-28 09:54:26 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-06-11 17:04:29 +0000 |
commit | e10ad8da85f1dc117d8df7a4c088b98d6335806d (patch) | |
tree | 3cbedf1d6f451bb975a77cf112cf3406615c6188 /install-files/openstack/usr/share/openstack/horizon.yml | |
parent | bfe523b5328d9fdccefb29b685d396e3de7427e2 (diff) | |
download | definitions-e10ad8da85f1dc117d8df7a4c088b98d6335806d.tar.gz |
OpenStack: Add custom configuration for the components
Add custom configuration for Keystone, Nova, Neutron, Cinder,
Glance, Ironic, Swift, Ceilometer, Horizon and Tempest for Openstack
Kilo release.
Notes:
- Horizon configuration has change in order to be less error prone
and to be close to the default configuration, the following changes
has been made to achive this purpose:
- Install the openstack_dashboard django project in /var/lib/horizon
avoiding:
- to write in /usr/lib/python2.7/site-packages/static
- to maintain a copy of local_settings.py
- to create a symlink as workaround to make django.wsgi to work
with the previous configuration.
- Change the path of django.wsgi file
- Remove the 'horizon/' suffix to access Horizon via URL.
- Grant permissions to access to /var/lib/horizon/static
Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Signed-off-by: Patrick Darley <patrick.darley@codethink.co.uk>
Signed-off-by: Tiago Gomes <tiago.gomes@codethink.co.uk>
Change-Id: I1fda4f85eb334b1b5bfec54dfcd9780a6112ea3b
Diffstat (limited to 'install-files/openstack/usr/share/openstack/horizon.yml')
-rw-r--r-- | install-files/openstack/usr/share/openstack/horizon.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/install-files/openstack/usr/share/openstack/horizon.yml b/install-files/openstack/usr/share/openstack/horizon.yml index 14cea5c5..1fec4ab0 100644 --- a/install-files/openstack/usr/share/openstack/horizon.yml +++ b/install-files/openstack/usr/share/openstack/horizon.yml @@ -23,14 +23,13 @@ shell: /sbin/nologin home: /var/lib/horizon - - name: Create the /var folders for horizon + - name: Fix permissions in /var/lib/horizon file: - path: "{{ item }}" + path: /var/lib/horizon state: directory owner: horizon group: horizon - with_items: - - /var/lib/horizon + recurse: yes - name: Link horizon apache configuration file: |