b0f739dc6ed7b14cec411ec22e6a4e25cc67baff
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / neutron-server.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   OpenStack Neutron Server 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   NeutronL3HA:
13     default: true
14     description: Whether to enable HA for virtual routers
15     type: boolean
16
17 resources:
18
19   NeutronServerBase:
20     type: ../neutron-server.yaml
21     properties:
22       EndpointMap: {get_param: EndpointMap}
23
24 outputs:
25   role_data:
26     description: Role data for the Neutron Server.
27     value:
28       service_name: neutron_server
29       config_settings:
30         map_merge:
31           - get_attr: [NeutronServerBase, role_data, config_settings]
32           - neutron::server::enabled: false
33             neutron::server::manage_service: false
34             neutron::server::l3_ha: {get_param: NeutronL3HA}
35       step_config: |
36         include ::tripleo::profile::pacemaker::neutron::server