1 heat_template_version: 2016-10-14
4 Horizon service configured with Puppet
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
15 description: Set to True to enable debugging on all services.
22 description: Mapping of service endpoint -> protocol. Typically set
23 via parameter_defaults in the resource registry.
27 description: A list of IP/Hostname allowed to connect to horizon
28 type: comma_delimited_list
30 description: Secret key for Django
34 NeutronMechanismDrivers:
35 default: 'openvswitch'
37 The mechanism drivers for the Neutron tenant network.
38 type: comma_delimited_list
41 description: Enable IPv6 features in Memcached.
46 description: Role data for the Horizon role.
50 horizon::allowed_hosts: {get_param: HorizonAllowedHosts}
51 neutron::plugins::ml2::mechanism_drivers:
55 MECHANISMS: {get_param: NeutronMechanismDrivers}
56 tripleo.horizon.firewall_rules:
61 horizon::cache_backend: django.core.cache.backends.memcached.MemcachedCache
62 horizon::django_session_engine: 'django.contrib.sessions.backends.cache'
63 horizon::vhost_extra_params:
66 access_log_format: '%a %l %u %t \"%r\" %>s %b \"%%{}{Referer}i\" \"%%{}{User-Agent}i\"'
67 # NOTE: bind IP is found in Heat replacing the network name with the local node IP
68 # for the given network; replacement examples (eg. for internal_api):
70 # internal_api_uri -> [IP]
71 # internal_api_subnet - > IP/CIDR
72 apache::ip: {get_param: [ServiceNetMap, HorizonNetwork]}
73 apache_remote_proxy_ips_network:
75 template: "NETWORK_subnet"
77 NETWORK: {get_param: [ServiceNetMap, HorizonNetwork]}
78 apache::mod::remoteip::proxy_ips:
79 - "%{hiera('apache_remote_proxy_ips_network')}"
80 horizon::bind_address: {get_param: [ServiceNetMap, HorizonNetwork]}
81 horizon::django_debug: {get_param: Debug}
82 horizon::keystone_url: {get_param: [EndpointMap, KeystoneInternal, uri]}
85 expression: $.data.passwords.where($ != '').first()
88 - {get_param: HorizonSecret}
89 - {get_param: [DefaultPasswords, horizon_secret]}
90 memcached_ipv6: {get_param: MemcachedIPv6}
92 include ::tripleo::profile::base::horizon