Add fence_cisco_ucs support in tripleo fencing manifests

Add fence_cisco_ucs support in tripleo fencing manifests since
pacemaker puppet modules supports this easily.  We already tested
this patch and it worked flawlessly.

Change-Id: I0cbefd2b23c890e0f4d97153895fbeedff861ace
This commit is contained in:
David Hill 2020-09-25 08:42:00 -04:00
parent ce090228c0
commit 528dc8394f

View File

@ -137,9 +137,13 @@ class tripleo::fencing(
$rhev_devices = local_fence_devices('fence_rhevm', $all_devices) $rhev_devices = local_fence_devices('fence_rhevm', $all_devices)
create_resources('pacemaker::stonith::fence_rhevm', $rhev_devices, $common_params) create_resources('pacemaker::stonith::fence_rhevm', $rhev_devices, $common_params)
$ucs_devices = local_fence_devices('fence_cisco_ucs', $all_devices)
create_resources('pacemaker::stonith::fence_cisco_ucs', $ucs_devices, $common_params)
$data = { $data = {
'xvm' => $xvm_devices, 'ironic' => $ironic_devices, 'redfish' => $redfish_devices, 'xvm' => $xvm_devices, 'ironic' => $ironic_devices, 'redfish' => $redfish_devices,
'ipmilan' => $ipmilan_devices, 'kdump' => $kdump_devices, 'rhevm' => $rhev_devices 'ipmilan' => $ipmilan_devices, 'kdump' => $kdump_devices, 'rhevm' => $rhev_devices,
'cisco_ucs' => $ucs_devices
} }
$data.each |$items| { $data.each |$items| {