Chef/Correctness/InvalidDefaultAction
The Cookstyle cops department: Chef/Correctness
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | No | All Versions |
Default actions in resources should be symbols or an array of symbols.
Examples
incorrect
default_action 'create'
correct
default_action :create
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 6.13.0 | String |
Include |
| Array |