Skip to main content

CookbookUsesDatabags

All Cookstyle Cops


The department is: Chef/Effortless

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


Enabled by default Supports autocorrection Target Chef Version
Not Enabled No All Versions

Data bags cannot be used with the Effortless Infra pattern

Examples

incorrect

data_bag_item('admins', login)
data_bag(data_bag_name)

Configurable attributes

Name Default value Configurable values
Version Added 5.1.0 String
Exclude
  • **/metadata.rb
  • **/Berksfile
Array

Was this page helpful?

×








Search Results