3a5ada474c4cb4b1d8b2840a8bfd330d60aaedd3
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / neutron-dhcp.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron DHCP 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   NeutronDhcpBase:
16     type: ../neutron-dhcp.yaml
17     properties:
18       EndpointMap: {get_param: EndpointMap}
19
20 outputs:
21   role_data:
22     description: Role data for the Neutron DHCP role.
23     value:
24       service_name: neutron_dhcp
25       config_settings:
26         map_merge:
27           - get_attr: [NeutronDhcpBase, role_data, config_settings]
28           - tripleo::profile::pacemaker::neutron::enable_dhcp: True
29             neutron::agents::dhcp::enabled: false
30             neutron::agents::dhcp::manage_service: false
31       step_config: |
32         include ::tripleo::profile::pacemaker::neutron::dhcp