Merge "Pass enabled and manage_service to Neutron/L3 when Pacemaker"
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker / loadbalancer.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Loadbalancer 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   LoadbalancerServiceBase:
15     type: ../loadbalancer.yaml
16     properties:
17       EndpointMap: {get_param: EndpointMap}
18
19 outputs:
20   role_data:
21     description: Role data for the Loadbalancer pacemaker role.
22     value:
23       config_settings:
24         map_merge:
25           - get_attr: [LoadbalancerServiceBase, role_data, config_settings]
26           - tripleo::loadbalancer::haproxy_service_manage: false
27             tripleo::loadbalancer::mysql_clustercheck: true
28             tripleo::loadbalancer::manage_vip: false
29       step_config: |
30         include ::tripleo::profile::pacemaker::loadbalancer