Add DefaultPasswords to composable services
[apex-tripleo-heat-templates.git] / puppet / services / haproxy.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   HAproxy 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
22 outputs:
23   role_data:
24     description: Role data for the HAproxy role.
25     value:
26       service_name: haproxy
27       config_settings:
28         tripleo.haproxy.firewall_rules:
29           '107 haproxy stats':
30             dport: 1993
31         # TODO(emilien) make it composable to find which services are actually running
32         tripleo::haproxy::keystone_admin: true
33         tripleo::haproxy::keystone_public: true
34         tripleo::haproxy::neutron: true
35         tripleo::haproxy::cinder: true
36         tripleo::haproxy::glance_api: true
37         tripleo::haproxy::glance_registry: true
38         tripleo::haproxy::nova_osapi: true
39         tripleo::haproxy::nova_metadata: true
40         tripleo::haproxy::nova_novncproxy: true
41         tripleo::haproxy::mysql: true
42         tripleo::haproxy::redis: true
43         tripleo::haproxy::sahara: true
44         tripleo::haproxy::swift_proxy_server: true
45         tripleo::haproxy::ceilometer: true
46         tripleo::haproxy::aodh: true
47         tripleo::haproxy::gnocchi: true
48         tripleo::haproxy::heat_api: true
49         tripleo::haproxy::heat_cloudwatch: true
50         tripleo::haproxy::heat_cfn: true
51         tripleo::haproxy::horizon: true
52       step_config: |
53         include ::tripleo::profile::base::haproxy