Merge "Align node_ips hiera keys with the service name."
[apex-tripleo-heat-templates.git] / puppet / services / aodh-api.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Aodh API 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 resources:
14   AodhBase:
15     type: ./aodh-base.yaml
16     properties:
17       EndpointMap: {get_param: EndpointMap}
18
19 outputs:
20   role_data:
21     description: Role data for the Aodh API service.
22     value:
23       service_name: aodh_api
24       config_settings:
25         map_merge:
26           - get_attr: [AodhBase, role_data, config_settings]
27           - aodh::wsgi::apache::ssl: false
28             aodh::api::service_name: 'httpd'
29             aodh::api::keystone_tenant: 'service'
30           - tripleo.aodh_api.firewall_rules:
31               '128 aodh-api':
32                 dport:
33                   - 8042
34                   - 13042
35
36       step_config: |
37         include tripleo::profile::base::aodh::api