2a3067caec38ab9308d6041f5268748986ec7815
[apex-tripleo-heat-templates.git] / puppet / services / pacemaker.yaml
1 heat_template_version: 2016-04-08
2
3 description: >
4   Pacemaker service configured with Puppet
5
6 parameters:
7   ServiceNetMap:
8     default: {}
9     description: Mapping of service_name -> network name. Typically set
10                  via parameter_defaults in the resource registry.  This
11                  mapping overrides those in ServiceNetMapDefaults.
12     type: json
13   EndpointMap:
14     default: {}
15     description: Mapping of service endpoint -> protocol. Typically set
16                  via parameter_defaults in the resource registry.
17     type: json
18
19 outputs:
20   role_data:
21     description: Role data for the Pacemaker role.
22     value:
23       service_name: pacemaker
24       config_settings:
25         pacemaker::corosync::cluster_name: 'tripleo_cluster'
26         pacemaker::corosync::manage_fw: false
27         pacemaker::resource_defaults::defaults:
28           resource-stickiness: { value: INFINITY }
29         corosync_token_timeout: 10000
30         tripleo.pacemaker.firewall_rules:
31           '130 pacemaker tcp':
32             proto: 'tcp'
33             dport:
34               - 2224
35               - 3121
36               - 21064
37           '131 pacemaker udp':
38             proto: 'udp'
39             dport: 5405
40       step_config: |
41         include ::tripleo::profile::base::pacemaker