Skip to main content

InvalidVersionMetadata

All Cookstyle Cops


The department is: Chef/Correctness

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
  • **/metadata.rb
Array

Was this page helpful?

×








Search Results