Skip to main content

Chef/Correctness/DnfPackageAllowDowngrades

Cookstyle cops page

The Cookstyle cops department: Chef/Correctness

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

    Thank you for your feedback!

    ×











    Search Results