Add grain to list LVM volumes implement issue 57629 #57631
Hi Dmitry, tests added. I hope they are Ok.
The tests for Linux and AIX are not the same because in AIX the LVM is part of base system, so it's always installed and with at least one volume group created.
- LVM is an important information about a Linux machine. Usually Linux servers have most or all their disk filesystems using a logical volume as mountpoint. - This initial support implements a grain called "lvm" which returns a dictionary with the volume groups, each one with a list of their logical volumes inside: VolumeGroup00: - LogicalVolume00 - LogicalVolume01 - ... - LogicalVolumeNN VolumeGroup01: ... VolumeGroupNN: - LogicalVolume00 - LogicalVolume01 - ... - LogicalVolumeNN
@DmitryKuzmenko , it's a lottery. Most tests fails by timeout, no available space, or error cloning the repository. I don't know if and how I can re-run only the failed tests, so my alternative is to merge from master until all tests passed.