Merge "Make Horizon parameters: vhost_extra_params and customization_module configurable" into stable/newton

This commit is contained in:
Zuul 2018-01-18 09:25:54 +00:00 committed by Gerrit Code Review
commit ef921db19a
1 changed files with 13 additions and 4 deletions

View File

@ -43,6 +43,17 @@ parameters:
MonitoringSubscriptionHorizon:
default: 'overcloud-horizon'
type: string
HorizonVhostExtraParams:
default:
add_listen: false
priority: 10
access_log_format: '%a %l %u %t \"%r\" %>s %b \"%%{}{Referer}i\" \"%%{}{User-Agent}i\"'
description: Extra parameters for Horizon vhost configuration
type: json
HorizonCustomizationModule:
default: ''
description: Horizon has a global overrides mechanism available to perform customizations
type: string
outputs:
role_data:
@ -64,10 +75,7 @@ outputs:
- 443
horizon::cache_backend: django.core.cache.backends.memcached.MemcachedCache
horizon::django_session_engine: 'django.contrib.sessions.backends.cache'
horizon::vhost_extra_params:
add_listen: false
priority: 10
access_log_format: '%a %l %u %t \"%r\" %>s %b \"%%{}{Referer}i\" \"%%{}{User-Agent}i\"'
horizon::vhost_extra_params: {get_param: HorizonVhostExtraParams}
horizon::bind_address: {get_param: [ServiceNetMap, HorizonNetwork]}
horizon::django_debug: {get_param: Debug}
horizon::keystone_url: {get_param: [EndpointMap, KeystoneInternal, uri]}
@ -79,5 +87,6 @@ outputs:
- {get_param: HorizonSecret}
- {get_param: [DefaultPasswords, horizon_secret]}
memcached_ipv6: {get_param: MemcachedIPv6}
horizon::customization_module: {get_param: HorizonCustomizationModule}
step_config: |
include ::tripleo::profile::base::horizon