Chef/Correctness/InvalidVersionMetadata
The Cookstyle cops department: Chef/Correctness
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | No | All Versions |
Cookbook metadata.rb version field should follow X.Y.Z version format.
Examples
incorrect
version '1.2.3.4'
correct
version '1.2.3'
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.8.0 | String |
Include |
| Array |