Skip to main content

DnfPackageAllowDowngrades

The department is: DnfPackageAllowDowngrades

The full name of the cop is: Chef/Correctness/DnfPackageAllowDowngrades

Enabled by default Supports autocorrection Target Chef Version
Enabled Yes All Versions

The dnf_package resource does not support the allow_downgrades property.

Examples

incorrect

dnf_package 'nginx' do
  version '1.2.3'
  allow_downgrades true
end

correct

dnf_package 'nginx' do
  version '1.2.3'
end

Configurable attributes

Name Default value Configurable values
Version Added 5.16.0 String
Include
Array

Was this page helpful?

×









Search Results