Skip to content

Add dnfmodule execution and state modules for DNF modularity - #69603

Merged
dwoz merged 1 commit into
saltstack:masterfrom
manmohanmirkar123:add-dnf-module-state
Jul 1, 2026
Merged

Add dnfmodule execution and state modules for DNF modularity#69603
dwoz merged 1 commit into
saltstack:masterfrom
manmohanmirkar123:add-dnf-module-state

Conversation

@manmohanmirkar123

@manmohanmirkar123 manmohanmirkar123 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds the dnfmodule execution 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.run with dnf module ....

New Behavior

  • salt/modules/dnfmodule.py — execution module
  • salt/states/dnfmodule.py — state module
  • Unit tests for both
  • Reference documentation pages and index entries
  • Changelog fragment

Merge requirements satisfied?

  • Includes tests
  • Includes documentation
  • Includes changelog fragment

@manmohanmirkar123
manmohanmirkar123 requested a review from a team as a code owner June 30, 2026 12:34
@welcome

welcome Bot commented Jun 30, 2026

Copy link
Copy Markdown

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.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

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.
If you have additional questions, email us at saltproject.pdl@broadcom.com. We're glad you've joined our community and look forward to doing awesome things with you!

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>
@dwoz dwoz added the test:full Run the full test suite label Jun 30, 2026
@dwoz
dwoz merged commit 55e3df8 into saltstack:master Jul 1, 2026
563 checks passed
@welcome

welcome Bot commented Jul 1, 2026

Copy link
Copy Markdown

Congratulations on your first PR being merged! 🎉

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.

[FEATURE REQUEST] rhel8 dnf module ....

2 participants