Added variable to allow for arbitrary HORIZON_CONFIG
A new variable has been added to allow a deployer to set arbitrary configuration options. Closes-Bug: #1598143 Change-Id: Ic2d83d5b581046314145ecd0201087cc1682716b Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
parent
6a84a06a79
commit
39839111c0
@ -191,3 +191,6 @@ horizon_pip_packages:
|
|||||||
- pycrypto
|
- pycrypto
|
||||||
- python-memcached
|
- python-memcached
|
||||||
- python-keystoneclient
|
- python-keystoneclient
|
||||||
|
|
||||||
|
# Set arbitrary horizon configuration options
|
||||||
|
horizon_config_overrides: {}
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Horizon now has the ability to set arbitrary configuration options using
|
||||||
|
global option ``horizon_config_overrides`` in YAML format. The overrides
|
||||||
|
follow the same pattern found within the other OpenStack service
|
||||||
|
overrides. `General documentation on overrides can be found here <http://docs.openstack.org/developer/openstack-ansible/install-guide/configure-openstack.html#overriding-openstack-configuration-defaults>`_.
|
@ -728,3 +728,7 @@ SITE_BRANDING = '{{ horizon_site_name }}'
|
|||||||
#custom python module with horizon dashboard theme overrides
|
#custom python module with horizon dashboard theme overrides
|
||||||
HORIZON_CONFIG["customization_module"] = 'horizon_customization.overrides'
|
HORIZON_CONFIG["customization_module"] = 'horizon_customization.overrides'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
# Set arbitrary horizon configuration options
|
||||||
|
HORIZON_CONFIG.update({{ horizon_config_overrides }})
|
||||||
|
@ -84,3 +84,5 @@ tempest_plugins:
|
|||||||
- name: tempest-horizon
|
- name: tempest-horizon
|
||||||
repo: https://git.openstack.org/openstack/tempest-horizon
|
repo: https://git.openstack.org/openstack/tempest-horizon
|
||||||
branch: master
|
branch: master
|
||||||
|
horizon_config_overrides:
|
||||||
|
X_TEST_OPTION: True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user