Merge "Pass ServiceNetMap to 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   EndpointMap:
14     default: {}
15     description: Mapping of service endpoint -> protocol. Typically set
16                  via parameter_defaults in the resource registry.
17     type: json
18
19 outputs:
20   role_data:
21     description: Role data for the HAproxy role.
22     value:
23       service_name: haproxy
24       config_settings:
25         tripleo.haproxy.firewall_rules:
26           '107 haproxy stats':
27             dport: 1993
28         # TODO(emilien) make it composable to find which services are actually running
29         tripleo::haproxy::keystone_admin: true
30         tripleo::haproxy::keystone_public: true
31         tripleo::haproxy::neutron: true
32         tripleo::haproxy::cinder: true
33         tripleo::haproxy::glance_api: true
34         tripleo::haproxy::glance_registry: true
35         tripleo::haproxy::nova_osapi: true
36         tripleo::haproxy::nova_metadata: true
37         tripleo::haproxy::nova_novncproxy: true
38         tripleo::haproxy::mysql: true
39         tripleo::haproxy::redis: true
40         tripleo::haproxy::sahara: true
41         tripleo::haproxy::swift_proxy_server: true
42         tripleo::haproxy::ceilometer: true
43         tripleo::haproxy::aodh: true
44         tripleo::haproxy::gnocchi: true
45         tripleo::haproxy::heat_api: true
46         tripleo::haproxy::heat_cloudwatch: true
47         tripleo::haproxy::heat_cfn: true
48         tripleo::haproxy::horizon: true
49       step_config: |
50         include ::tripleo::profile::base::haproxy