Add DefaultPasswords to composable services
[apex-tripleo-heat-templates.git] / puppet / services / horizon.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Horizon service configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
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.
12     type: json
13   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21   HorizonAllowedHosts:
22     default: '*'
23     description: A list of IP/Hostname allowed to connect to horizon
24     type: comma_delimited_list
25   NeutronMechanismDrivers:
26     default: 'openvswitch'
27     description: |
28         The mechanism drivers for the Neutron tenant network.
29     type: comma_delimited_list
30
31 outputs:
32   role_data:
33     description: Role data for the Horizon role.
34     value:
35       service_name: horizon
36       config_settings:
37         horizon::allowed_hosts: {get_param: HorizonAllowedHosts}
38         neutron::plugins::ml2::mechanism_drivers:
39           str_replace:
40             template: MECHANISMS
41             params:
42               MECHANISMS: {get_param: NeutronMechanismDrivers}
43         tripleo.horizon.firewall_rules:
44           '126 horizon':
45             dport:
46               - 80
47               - 443
48         horizon::cache_backend: django.core.cache.backends.memcached.MemcachedCache
49         horizon::django_session_engine: 'django.contrib.sessions.backends.cache'
50         horizon::vhost_extra_params:
51           add_listen: false
52           priority: 10
53           access_log_format: '%a %l %u %t \"%r\" %>s %b \"%%{}{Referer}i\" \"%%{}{User-Agent}i\"'
54       step_config: |
55         include ::tripleo::profile::base::horizon