Skip to content

Conversation

@barneysowood
Copy link
Collaborator

@barneysowood barneysowood commented Nov 19, 2025

What does this PR do?

Adds the mdadm and lvm grains modules back in to core. The were removed as part of the community module migration in #65971, but they provide key functionality on linux systems. The associated execution and state modules (mdadm_raid/mdadm and linux_lvm/lvm) were not removed so it doesn't seem to make sense that the grains should be in a separate extension.

Previous Behavior

mdadm and lvm grains were not available

New Behavior

mdadm and lvm grains are available again

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with SSH key?

Yes

@barneysowood barneysowood force-pushed the restore-grains-modules branch from b3f4327 to 89d172f Compare November 19, 2025 09:11
@barneysowood barneysowood self-assigned this Nov 25, 2025
@barneysowood barneysowood force-pushed the restore-grains-modules branch from 7972a09 to 870f273 Compare December 15, 2025 11:04
Adds the mdadm and lvm grains back in to core. The were removed as part
of the community module migration, but they provide key functionality on
linux systems and the associated execution and state modules were not
removed.
Adds basic tests for mdadm grain - they didn't exist previously.
Just checks against output from /proc/mdstat with/without md devices and
also checks that /proc/mdstat not existing is handled correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants