Convert service_name to underscore syntax
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / neutron-metadata.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron Metadata service with Pacemaker 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
15   NeutronMetadataBase:
16     type: ../neutron-metadata.yaml
17     properties:
18       EndpointMap: {get_param: EndpointMap}
19
20 outputs:
21   role_data:
22     description: Role data for the Neutron Metadata role.
23     value:
24       service_name: neutron_metadata
25       config_settings:
26         map_merge:
27           - get_attr: [NeutronMetadataBase, role_data, config_settings]
28           - tripleo::profile::pacemaker::neutron::enable_metadata: True
29       step_config: |
30         include ::tripleo::profile::pacemaker::neutron::metadata