Skip to main content

InvalidVersionMetadata

The department is: InvalidVersionMetadata

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

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledNoAll 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

NameDefault valueConfigurable values
Version Added5.8.0String
Include
  • **/metadata.rb
Array

Was this page helpful?

×









Search Results