Skip to main content

MetadataMissingVersion

The department is: MetadataMissingVersion

The full name of the cop is: Chef/Correctness/MetadataMissingVersion

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

Was this page helpful?

×









Search Results