Skip to main content

LongDescriptionMetadata

All Cookstyle Cops


The department is: Chef/RedundantCode

The full name of the cop is: Chef/RedundantCode/LongDescriptionMetadata


Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

The long_description metadata.rb method is not used and is unnecessary in cookbooks.

Examples

incorrect

long_description 'this is my cookbook and this description will never be seen'

Configurable attributes

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

Was this page helpful?