Skip to main content

DependsOnZypperCookbook

All Cookstyle Cops


The department is: Chef/Modernize

The full name of the cop is: Chef/Modernize/DependsOnZypperCookbook


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
Exclude
  • **/metadata.rb
Array

Was this page helpful?