pacemaker-remote is broken on CentOS/RHEL < 8

Broken since commit 16c5f16925
The problem is when setting use_pcsd to true, the new
pcs 0.10 remote addition is always used, which doesn't work
on CentOS/RHEL before 8.

Change-Id: I9b04c1bb5a2389201b99815f17d6242baaf856d9
Closes-bug: #1850058
This commit is contained in:
Mihai Plasoianu 2020-03-20 14:17:49 +01:00
parent 116e8e8d12
commit 91627ee5fc
1 changed files with 4 additions and 1 deletions

View File

@ -66,11 +66,14 @@ class tripleo::profile::base::pacemaker_remote (
if $pcs_password == undef {
fail('The $pcs_password param is and the hiera key "hacluster_pwd" hiera key are both undefined, this is not allowed')
}
include pacemaker::params
class { '::pacemaker::remote':
pcs_user => $pcs_user,
pcs_password => $pcs_password,
remote_authkey => $remote_authkey,
use_pcsd => true,
use_pcsd => $pacemaker::params::pcs_010,
pcsd_bind_addr => $pcsd_bind_addr,
tls_priorities => $tls_priorities,
}