Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
PUP 6.11.0
-
CentOS 8, RHEL 8 agents.
-
Night's Watch
-
2
-
NW - 2020-04-01, NW - 2020-04-15
-
Enhancement
-
Support enabling DNF modules, in addition to installing them. This is done by default on modules with no default installation profile. Modules with profiles can be enabled by setting the `enable_only` parameter to `true` in the manifest.
-
Needs Assessment
Description
The dnfmodule package provider currently only supports installing a profile, ala `dnf module install module-name:stream/profile`. Some modules do not provide profiles, and can only be enabled. For example, the 389-ds module. To install, 2 steps are required:
- `dnf module enable 389-ds:1.4`
- `dnf install 389-ds-base`
I think it would be ideal to allow for an 'enabled' value for the ensure parameter which would change the invocation of dnf. The stream should be passed in with a new or repurposed parameter. A secondary package resource can be used to install the needed package as that is not deterministic.