Skip to main content

Chef/Modernize/DependsOnZypperCookbook

Cookstyle cops page

The Cookstyle cops department: Chef/Modernize

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYes13.3+

Don’t depend on the zypper cookbook as the zypper_repository resource is built into Chef Infra Client 13.3+

Examples

incorrect

depends 'zypper'

Configurable attributes

NameDefault valueConfigurable values
Version Added5.6.0String
Include
    Array

    Thank you for your feedback!

    ×