Convert service_name to underscore syntax
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / 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
13 resources:
14   HeatApiCloudwatchBase:
15     type: ../heat-api-cloudwatch.yaml
16     properties:
17       EndpointMap: {get_param: EndpointMap}
18
19 outputs:
20   role_data:
21     description: Role data for the Heat Cloudwatch API role.
22     value:
23       service_name: heat_api_cloudwatch
24       config_settings:
25         map_merge:
26            - get_attr: [HeatApiCloudwatchBase, role_data, config_settings]
27            - heat::api_cloudwatch::manage_service: false
28              heat::api_cloudwatch::enabled: false
29       step_config: |
30         include ::tripleo::profile::pacemaker::heat::api_cloudwatch