Chef/Correctness/MetadataMissingVersion
The Cookstyle cops department: Chef/Correctness
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 |