Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package type dnfmodule provider] Fully support DNF profiles #9317

Open
EmersonPrado opened this issue Apr 9, 2024 · 1 comment
Open

[package type dnfmodule provider] Fully support DNF profiles #9317

EmersonPrado opened this issue Apr 9, 2024 · 1 comment
Labels
enhancement New feature or request triaged Jira issue has been created for this

Comments

@EmersonPrado
Copy link

EmersonPrado commented Apr 9, 2024

dnfmodule provider can (un)install DNF profiles. But it has some limitations:

  1. Can't (un)install multiple profiles, as allowed by dnf module command
  2. Always changes DNF stream, even when not asked for
  3. Docs don't make it clear what is (un)installed when using dnfmodule provider - profiles, instead of packages

So I'd like to propose, and try to implement, these changes:

  1. Make flavor parameter accept arrays, so to (un)install multiple profiles
  2. Make provider only change the DNF stream if it's positively specified in ensure* - as opposed to installed, absent, latest, and so on
  3. Rewrite docs on dnfmodule provider so to make all functioning clear

* puppet-yum module will soon support full DNS stream management, so this could be deprecated altogether from dnfmodule provider

I discussed this at length in Puppet Slack, with ideas ranging from implementing stuff in Puppet core, puppet-yum module and a dedicated module. We ended up agreeing in managing profiles (un)installation in core package type (which is the official (un)installer), requiring the changes proposed in this report, and moving DNF streams management (which is a configuration, not an (un)installation) to puppet-yum module. I'm still open to ideas.

@EmersonPrado EmersonPrado added the enhancement New feature or request label Apr 9, 2024
@mhashizume mhashizume added the triaged Jira issue has been created for this label Apr 16, 2024
Copy link

Migrated issue to PUP-12034

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triaged Jira issue has been created for this
Projects
None yet
Development

No branches or pull requests

2 participants