Skip to main content

Chef/Deprecations/IncludingYumDNFCompatRecipe

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

Don’t include the deprecated yum DNF compatibility recipe, which is no longer necessary as Chef Infra Client includes DNF package support

Examples

incorrect

include_recipe 'yum::dnf_yum_compat'

Configurable attributes

NameDefault valueConfigurable values
Version Added5.3.0String
Include
    Array

    Thank you for your feedback!

    ×