Skip to main content

Chef/Sharing/DefaultMetadataMaintainer

Cookstyle cops page

The Cookstyle cops department: Chef/Sharing

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledNoAll Versions

Metadata contains default maintainer information from the chef generate cookbook command. This should be updated to reflect that actual maintainer of the cookbook.

Examples

incorrect

maintainer 'YOUR_COMPANY_NAME'
maintainer_email 'YOUR_EMAIL'
maintainer 'The Authors'
maintainer_email 'you@example.com'```

### correct

```ruby
maintainer 'Bob Bobberson'
maintainer_email 'bob@bobberson.com'

Configurable attributes

NameDefault valueConfigurable values
Version Added5.4.0String
Include
  • **/metadata.rb
Array

Thank you for your feedback!

×