Skip to main content

Chef/Correctness/InvalidCookbookName

Cookstyle cops page

The Cookstyle cops department: Chef/Correctness

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledNoAll Versions

Cookbook names should not contain invalid characters such as periods.

Examples

incorrect

name 'foo.bar'

correct

name 'foo_bar'

Configurable attributes

NameDefault valueConfigurable values
Version Added7.27String
Include
  • **/metadata.rb
Array

Thank you for your feedback!

×