Skip to main content

Chef/Correctness/MetadataMissingVersion

Cookstyle cops page

The Cookstyle cops department: Chef/Correctness

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

metadata.rb should define a version for the cookbook.

Examples


### correct

```ruby
name 'foo'
version '1.0.0'

Configurable attributes

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

Thank you for your feedback!

×










Search Results