Closed kevinsumner closed 2 years ago
This issue has been marked as stale because it has been open for a while and has had no recent activity. If this issue is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days.
Use Case
dnf should be supported natively (i.e., not through the yum compatibility shim) and preferred when both dnf and yum are available.
Describe the Solution You Would Like
dnf is the default package manager on Fedora since 22 and EL since 8. When running the package task against a dnf-based Linux distro without the yum, bolt should succeed like other package managers in installing/removing/etc. the package.
Describe Alternatives You've Considered
Installing the yum compatibility layer for now, which seems to work.
Additional Context
Lack of support is, at least, obvious with 1.1.0:
Current commit on master showing lack of dnf support, too: https://github.com/puppetlabs/puppetlabs-package/blob/c84c990200dbc5be13771b572b32a19d33276d14/tasks/linux.sh#L10