Skip to main content

DefaultMetadataMaintainer

All Cookstyle Cops


The department is: Chef/Sharing

The full name of the cop is: Chef/Sharing/DefaultMetadataMaintainer


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

Was this page helpful?









Search Results