SupportsMustBeFloat
The department is: Chef/Correctness
The full name of the cop is: Chef/Correctness/SupportsMustBeFloat
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All Versions |
Versions used in metadata.rb supports calls should be floats not integers.
Examples
incorrect
supports 'redhat', '> 8'
correct
supports 'redhat', '> 8.0'
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 6.13.0 | String | Include |
|
Array |
Was this page helpful?