InvalidPlatformMetadata
The department is: InvalidPlatformMetadata
The full name of the cop is: Chef/Correctness/InvalidPlatformMetadata
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 |
Was this page helpful?