You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"forcommand"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"forcommand"dnf5". Add "--help"for more information about the arguments.
package { 'nginx':
ensure =>'purged',
provider =>'dnf',
}
The text was updated successfully, but these errors were encountered:
Is this a critical security issue?
Describe the Bug
@xxjack12xx reported the following in puppetlabs/puppet#9506:
Expected Behavior
Packages should install with no errors.
Steps to Reproduce
package
resourceEnvironment
Additional Context
No response
Relevant log output
The text was updated successfully, but these errors were encountered: