Add 'service_name' to composable services
[apex-tripleo-heat-templates.git] / puppet / services / neutron-dhcp.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron DHCP agent 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   NeutronEnableIsolatedMetadata:
13     default: 'False'
14     description: If True, DHCP provide metadata route to VM.
15     type: string
16
17 resources:
18
19   NeutronBase:
20     type: ./neutron-base.yaml
21
22 outputs:
23   role_data:
24     description: Role data for the Neutron DHCP agent service.
25     value:
26       service_name: neutron-dhcp
27       config_settings:
28         map_merge:
29           - get_attr: [NeutronBase, role_data, config_settings]
30           - neutron::agents::dhcp::enable_isolated_metadata: {get_param: NeutronEnableIsolatedMetadata}
31       step_config: |
32         include tripleo::profile::base::neutron::dhcp