Browse Source

Merge "Make sure we pass cluster_setup_extras when using pcs 0.10"

changes/90/744190/1
Zuul 6 days ago
committed by Gerrit Code Review
parent
commit
7291a1cac5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      manifests/corosync.pp

+ 1
- 1
manifests/corosync.pp View File

@@ -247,7 +247,7 @@ class pacemaker::corosync(

# pcs-0.10.x has different commands to set up the cluster
if $::pacemaker::pcs_010 {
$cluster_setup_cmd = "${::pacemaker::pcs_bin} cluster setup ${cluster_name} ${cluster_members_rrp_real}"
$cluster_setup_cmd = "${::pacemaker::pcs_bin} cluster setup ${cluster_name} ${cluster_members_rrp_real} ${cluster_setup_extras_real}"
$cluster_reauthenticate_cmd = "${::pacemaker::pcs_bin} host auth ${cluster_members} -u hacluster -p ${::pacemaker::hacluster_pwd}"
$cluster_authenticate_cmd = "${::pacemaker::pcs_bin} host auth ${cluster_members} -u hacluster -p ${::pacemaker::hacluster_pwd}"
$cluster_authenticate_unless = "${::pacemaker::pcs_bin} host auth ${cluster_members} -u hacluster -p ${::pacemaker::hacluster_pwd} | grep 'Already authorized'"


Loading…
Cancel
Save