b4669ac3f64d852b4e79a32e0e8a886da63ed1d5
[apex-tripleo-heat-templates.git] / puppet / services / heat-api-cloudwatch.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Openstack Heat CloudWatch 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   HeatWorkers:
13     default: 0
14     description: Number of workers for Heat service.
15     type: number
16
17 resources:
18   HeatBase:
19     type: ./heat-base.yaml
20
21 outputs:
22   role_data:
23     description: Role data for the Heat Cloudwatch API role.
24     value:
25       service_name: heat_api_cloudwatch
26       config_settings:
27         map_merge:
28           - get_attr: [HeatBase, role_data, config_settings]
29           - heat::api_cloudwatch::workers: {get_param: HeatWorkers}
30             tripleo.heat_api_cloudwatch.firewall_rules:
31               '125 heat_cloudwatch':
32                 dport:
33                   - 8003
34                   - 13003
35       step_config: |
36         include ::tripleo::profile::base::heat::api_cloudwatch