-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
enhancementNew feature or requestNew feature or requesttriagedJira issue has been created for thisJira issue has been created for this
Description
dnfmodule provider can (un)install DNF profiles. But it has some limitations:
- Can't (un)install multiple profiles, as allowed by dnf module command
- Always changes DNF stream, even when not asked for
- Docs don't make it clear what is (un)installed when using
dnfmoduleprovider - profiles, instead of packages
So I'd like to propose, and try to implement, these changes:
- Make
flavorparameter accept arrays, so to (un)install multiple profiles - Make provider only change the DNF stream if it's positively specified in
ensure* - as opposed toinstalled,absent,latest, and so on - Rewrite docs on
dnfmoduleprovider 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.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttriagedJira issue has been created for thisJira issue has been created for this