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