InvalidVersionMetadata
The department is: InvalidVersionMetadata
The full name of the cop is: Chef/Correctness/InvalidVersionMetadata
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 |