MetadataMissingVersion
The department is: MetadataMissingVersion
The full name of the cop is: Chef/Correctness/MetadataMissingVersion
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All Versions |
metadata.rb should define a version for the cookbook.
Examples
#### correct
```ruby
name 'foo'
version '1.0.0'
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 7.25 | String |
Include |
|
Array |
Was this page helpful?