Skip to main content

LongDescriptionMetadata

The department is: LongDescriptionMetadata

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

Enabled by default Supports autocorrection Target Chef Version
Enabled Yes All 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

Name Default value Configurable values
Version Added 5.2.0 String
Include
  • **/metadata.rb
Array

Was this page helpful?

×









Search Results