Add 'service_name' to composable services
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / neutron-midonet.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron Midonet 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   NeutronMidonetBase:
16     type: ../neutron-midonet.yaml
17     properties:
18       EndpointMap: {get_param: EndpointMap}
19
20 outputs:
21   role_data:
22     description: Role data for the Neutron Midonet plugin.
23     value:
24       service_name: neutron-midonet
25       config_settings:
26         map_merge:
27           - get_attr: [NeutronMidonetBase, role_data, config_settings]
28       step_config: |
29         include ::tripleo::profile::pacemaker::neutron::plugins::midonet