Skip to main content

CookbookUsesPolicygroups

All Cookstyle Cops


The department is: Chef/Effortless

The full name of the cop is: Chef/Effortless/CookbookUsesPolicygroups


Enabled by defaultSupports autocorrectionTarget Chef Version
Not EnabledNoAll Versions

Effortless Infra does not support Policyfile’s Policygroup feature

Examples

incorrect

node.policy_group == "foo"

Configurable attributes

NameDefault valueConfigurable values
Version Added5.10.0String
Exclude
  • **/metadata.rb
  • **/Berksfile
Array

Was this page helpful?