Add dnfmodule execution and state modules for DNF modularity - #69603
Conversation
|
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here's some information that may help as you continue your Salt journey. There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
Add the dnfmodule execution and state modules to manage DNF modularity (AppStream) module streams on RHEL 8/9 and derivatives: enable, disable, install, remove, reset and list module streams. Includes unit tests, reference docs and a changelog fragment. Fixes saltstack#62146 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
5e745e5 to
9b7f091
Compare
|
Congratulations on your first PR being merged! 🎉 |
What does this PR do?
Adds the
dnfmoduleexecution and state modules to manage DNF modularity (AppStream) module streams on RHEL 8/9 and derivatives.Supported operations: enable, disable, install, remove, reset and list module streams.
What issues does this PR fix or reference?
Fixes #62146 (feature request, now discussion #67398)
Previous Behavior
No native Salt support for managing DNF AppStream module streams; users had to shell out to
cmd.runwithdnf module ....New Behavior
salt/modules/dnfmodule.py— execution modulesalt/states/dnfmodule.py— state moduleMerge requirements satisfied?