aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/aodh-api.yaml
blob: ab51212c1345378bf858af4311c8bcff8eaedb5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
heat_template_version: 2016-04-08

description: >
  OpenStack Aodh API service configured with Puppet

parameters:
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json

resources:
  AodhBase:
    type: ./aodh-base.yaml
    properties:
      EndpointMap: {get_param: EndpointMap}

outputs:
  role_data:
    description: Role data for the Aodh API service.
    value:
      service_name: aodh_api
      config_settings:
        map_merge:
          - get_attr: [AodhBase, role_data, config_settings]
          - aodh::wsgi::apache::ssl: false
            aodh::api::service_name: 'httpd'
            aodh::api::keystone_tenant: 'service'
          - tripleo.aodh_api.firewall_rules:
              '128 aodh-api':
                dport:
                  - 8042
                  - 13042

      step_config: |
        include tripleo::profile::base::aodh::api