Skip to main content

DnfPackageAllowDowngrades

The department is: DnfPackageAllowDowngrades

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

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll 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

NameDefault valueConfigurable values
Version Added5.16.0String
Include
    Array

    Was this page helpful?

    ×









    Search Results