integ/config
Erickson Silva a88028e180 Fix the 'unless' condition of ceph-osd-prepare in osd puppet
In the 'unless' condition of ceph-prepare-osd-* there will be
a false positive if an exception occurs when running ceph-disk,
causing the osd to be formatted.

To fix this, the contents of the unless block were moved to the
command block and the execution of the binary (ceph-disk) was
isolated.

Test Plan:
PASS: Fresh install (AIO-SX)
PASS: Force exception in ceph-disk
PASS: Lock/Unlock the controller
PASS: Check if the osd has been wiped

Closes-bug: 2033552

Change-Id: I5374bc228eebabf4794e1ce302690dec258d6c2f
Signed-off-by: Erickson Silva <Erickson.SilvadeOliveira@windriver.com>
2023-08-31 08:01:33 -03:00
..
facter meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
puppet-4.8.2/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
puppet-5.5.22/debian debian: Use default ordering for Puppet 2022-05-02 11:51:28 +03:00
puppet-modules Fix the 'unless' condition of ceph-osd-prepare in osd puppet 2023-08-31 08:01:33 -03:00