Chef/Correctness/DnfPackageAllowDowngrades
The Cookstyle cops department: Chef/Correctness
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 |