Do not use hardcoded controller_node_names when setting up the cluster
authorMichele Baldessari <michele@acksyn.org>
Wed, 7 Dec 2016 16:59:03 +0000 (17:59 +0100)
committerMichele Baldessari <michele@acksyn.org>
Thu, 8 Dec 2016 16:16:40 +0000 (17:16 +0100)
commit5054f122d829f13a099ad7901626550ce5aa6372
treef59f13add77f90d978c523ab9d3e09616a4ff75c
parenta102d35f12e75bbf7fa9c5f91aeaef145f203143
Do not use hardcoded controller_node_names when setting up the cluster

Currently we chose the pacemaker cluster node by simply taking
hiera('controller_node_names'). We should instead use the
pacemaker_short_node_names array which is built dynamically
from all the nodes that include the pacemaker service.

Change-Id: I0a3e4acaab11e078da5eeb2ef2adde5387785927
manifests/profile/base/pacemaker.pp