Only set the stonith property on the pacemaker_master node
authorMichele Baldessari <michele@acksyn.org>
Wed, 7 Jun 2017 08:20:25 +0000 (10:20 +0200)
committerMichele Baldessari <michele@acksyn.org>
Wed, 14 Jun 2017 07:01:26 +0000 (09:01 +0200)
commit332755c0fd586f0a3085704b3f4bda78ad8a87ad
tree4a0bd7d0e3217e1264faa28fab48102ddf93b7ac
parent2561fa9560e80e6f6cf9c6c1f1424491cfb012d9
Only set the stonith property on the pacemaker_master node

It makes little sense to enforce the stonith property on remote nodes and/or
all cluster nodes. We can just enforce it once on the pacemaker_master
node as it is a cluster-wide property anyway. We can also remove the
tripleo::fencing -> pacemaker::stonith constraint in the pacemaker
remote profile now as the fencing stuff happens on step 5 anyway and
the property is set at step 1.

While this works in general it creates extra CIB changes for nothing and
slows down the deployment.

Change-Id: Ifef08033043a4cc90a6261e962d2fdecdf275650
Closes-Bug: #1696336
manifests/profile/base/pacemaker.pp
manifests/profile/base/pacemaker_remote.pp