Chef/Correctness/MetadataMalformedDepends
The Cookstyle cops department: Chef/Correctness
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All Versions |
metadata.rb cookbook dependencies and version constraints should be comma separated.
Examples
incorrect
depends 'some_awesome_cookbook' '= 4.5.5'
depends 'some_other_cool_cookbook' '< 8.0'
correct
depends 'some_awesome_cookbook', '= 4.5.5'
depends 'some_other_cool_cookbook', '< 8.0'
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 7.16 | String |
Include |
| Array |