Deprecation: DNF Package allow_downgrade Property (CHEF-10)

[edit on GitHub]

The underlying dnf command in Red Hat based operating systems does not require --allow-downgrade like the previous yum command did. This property does not affect the dnf_resource resource execution and should be removed.

Remediation

Remove the allow_downgrade property on the dnf_package resource.

© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/deprecations_dnf_package_allow_downgrade/