puppet-pacemaker/manifests/stonith
Luca Miccini 0389f99f43 Extend deep_compare to stonith resources
This commit extends the deep_compare logic to stonith resources,
allowing operators to update their fencing configuration by editing
the relevant yaml files and running a stack update.

Needs 'pacemaker::stonith::$(fence_XXX)::deep_compare: true' to be set
as it is false by default.

If necessary users can also change the value of:

'pacemaker::stonith::$(fence_XXX)::update_settle_secs' (600s by default)

Tested as following:

1. Deployed overcloud with fencing.yaml containing:

parameter_defaults:
  EnableFencing: true
  FencingConfig:
    devices:
    - agent: fence_ipmilan
      host_mac: 52:54:00:99:08:46
      params:
        ipaddr: 172.16.0.1
        ipport: '6230'
        lanplus: true
        login: admin
        passwd: password

resulting in:

$ pcs stonith show stonith-fence_ipmilan-525400990846 |grep passwd |awk '{print $6}'
passwd=password

2. Changed the "password" value:

        passwd: bogus

3. Did a stack update, result:

$ pcs stonith show stonith-fence_ipmilan-525400990846 |grep passwd |awk '{print $6}'
passwd=bogus

Change-Id: I1a9b3090e84c32755b5d538f0a7ee080221420fe
2019-09-11 08:09:44 +02:00
..
.gitkeep Merge with fuel-infra/puppet-pacemaker 2016-05-25 11:22:22 +02:00
fence_amt.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_apc.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_apc_snmp.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_bladecenter.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_brocade.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_cisco_mds.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_cisco_ucs.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_compute.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_drac5.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_eaton_snmp.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_eps.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_hpblade.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ibmblade.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_idrac.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ifmib.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ilo.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ilo2.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ilo3.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ilo4.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ilo_mp.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_imm.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_intelmodular.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ipdu.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ipmilan.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_ironic.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_kdump.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_redfish.pp Make the redfish stonith agent a manual agent and add two workaround 2019-02-14 11:02:04 +01:00
fence_rhevm.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_rsb.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_scsi.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_virt.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_vmware_soap.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_wti.pp Extend deep_compare to stonith resources 2019-09-11 08:09:44 +02:00
fence_xvm.pp Use resource collectors for ordering in stonith manifests 2017-10-25 08:35:16 +02:00
level.pp Implement stonith levels resource 2017-10-12 11:01:30 +02:00