puppet-pacemaker/lib
Michele Baldessari 99ac026c6d Make sure we test for Promoted when looking for constraints
pacemaker 2.1 returns 'Promoted' as opposed to 'Master' in its
with-rsc-role output. Let's test for both of them to keep compatibility
forwards and backwards. See: https://github.com/ClusterLabs/pacemaker/commit/c3b7b13ef
for example.

Tested this on Centos9 and fixed the issue with puppet not detecting
that a constraint was already there.

Change-Id: Ic215719e52ef1cc8a7a99bafe5d7393f583cc7b7
2021-09-03 14:19:32 +02:00
..
facter Silence useless facter errors when calling crm_node 2019-09-23 10:32:38 +02:00
pacemaker Make pacemaker_resource serializable 2020-03-10 11:28:12 +01:00
puppet Make sure we test for Promoted when looking for constraints 2021-09-03 14:19:32 +02:00
serverspec/type Merge with fuel-infra/puppet-pacemaker 2016-05-25 11:22:22 +02:00
tools Merge with fuel-infra/puppet-pacemaker 2016-05-25 11:22:22 +02:00