Chef/Modernize/WhyRunSupportedTrue
The Cookstyle cops department: Chef/Modernize
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | 13.0+ |
whyrun_supported? no longer needs to be set to true as that is the default in Chef Infra Client 13+
Examples
incorrect
def whyrun_supported?
true
end
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.1.0 | String |
Include |
| Array |