Chef/Correctness/InvalidPlatformMetadata
The Cookstyle cops department: Chef/Correctness
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All Versions |
metadata.rb supports
methods should contain valid platforms. See Infra Language: Platform for a list of many common platform values.
Examples
incorrect
supports 'darwin'
supports 'mswin'
correct
supports 'mac_os_x'
supports 'windows'
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.2.0 | String |
Include |
| Array |