Merge "Pass cinder_iscsi_address without brackets"
[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   DefaultPasswords:
14     default: {}
15     type: json
16   EndpointMap:
17     default: {}
18     description: Mapping of service endpoint -> protocol. Typically set
19                  via parameter_defaults in the resource registry.
20     type: json
21
22 outputs:
23   role_data:
24     description: Role data for the Pacemaker role.
25     value:
26       service_name: pacemaker
27       config_settings:
28         pacemaker::corosync::cluster_name: 'tripleo_cluster'
29         pacemaker::corosync::manage_fw: false
30         pacemaker::resource_defaults::defaults:
31           resource-stickiness: { value: INFINITY }
32         corosync_token_timeout: 10000
33         tripleo.pacemaker.firewall_rules:
34           '130 pacemaker tcp':
35             proto: 'tcp'
36             dport:
37               - 2224
38               - 3121
39               - 21064
40           '131 pacemaker udp':
41             proto: 'udp'
42             dport: 5405
43       step_config: |
44         include ::tripleo::profile::base::pacemaker