Closed
Description
Is this a critical security issue?
- This is not a security issue.
Describe the Bug
@xxjack12xx reported the following in puppetlabs/puppet#9506:
puppet agent does not support dnf5 which is the current package manager in Fedora 41.
When having puppet install a package, the following error occurs:
Package[rsync-daemon]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install rsync-daemon' returned 2: Unknown argument "-d" for command "dnf5". Add "--help" for more information about the arguments. (corrective)
Expected Behavior
Packages should install with no errors.
Steps to Reproduce
- Try to install a package with a
package
resource
Environment
- Version: openvox-agent-8.13.0-1.fc40.x86_64
- Platform: Fedora release 41 (Forty One)
Additional Context
No response
Relevant log output
# puppet resource package nginx ensure=installed
Error: Execution of '/usr/bin/dnf -d 0 -e 1 -y install nginx' returned 2: Unknown argument "-d" for command "dnf5". Add "--help" for more information about the arguments.
Error: /Package[nginx]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/dnf -d 0 -e 1 -y install nginx' returned 2: Unknown argument "-d" for command "dnf5". Add "--help" for more information about the arguments.
package { 'nginx':
ensure => 'purged',
provider => 'dnf',
}