Closed rtib closed 1 year ago
As @rtib also pointed out via slack the newer structured facts logical_volumes
, physical_volumes
and volume_groups
are missing its relations to each other.
That should be also fixed by adding pv_name
, vg_name
, lv_full_name
to the structured facts so it allows cross referencing.
Describe the Bug
Facts
lvm_vg_*
andlvm_vg_*_pvs
aren't resolved since v2.0.0 release.Expected Behavior
As those facts where not declared deprecated neither removed from the code, they are expected to be available.
Steps to Reproduce
Steps to reproduce the behavior:
sudo puppet facts | grep lvm_vg
on a node having LVM volume groups configured with module version 2.0.x and earlier.Environment
Additional Context
With commit https://github.com/puppetlabs/puppetlabs-lvm/commit/8e1e8eb1718f31a75d9edf79b123c74d61364e55 the setcode blocks of the affected facts here have been moved into the
setcode
block above. I assume, such an encapsulation ofsetcode
blocks is not supported with Facter.