Skip to content

Commit 5d91343

Browse files
committed
pacemaker/corosync: Grab correct hacluster password
1 parent 0ed9ee8 commit 5d91343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/corosync.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@
5353
}
5454
->
5555
exec {"Set password for hacluster user on $cluster_name":
56-
command => "/bin/echo ${::pacemaker::params::hacluster_pwd} | /usr/bin/passwd --stdin hacluster",
56+
command => "/bin/echo ${::pacemaker::hacluster_pwd} | /usr/bin/passwd --stdin hacluster",
5757
creates => "/etc/cluster/cluster.conf",
5858
require => Class["::pacemaker::install"],
5959
}
6060
->
6161
exec {"auth-successful-across-all-nodes":
62-
command => "/usr/sbin/pcs cluster auth $cluster_members -u hacluster -p ${::pacemaker::params::hacluster_pwd} --force",
62+
command => "/usr/sbin/pcs cluster auth $cluster_members -u hacluster -p ${::pacemaker::hacluster_pwd} --force",
6363
timeout => 3600,
6464
tries => 360,
6565
try_sleep => 10,

0 commit comments

Comments
 (0)