Chef/Deprecations/UseInlineResourcesDefined
The Cookstyle cops department: Chef/Deprecations
| Enabled by default | Supports autocorrection | Target Chef Version |
|---|---|---|
| Enabled | Yes | All Versions |
use_inline_resources became the default in Chef Infra Client 13+ and no longer needs to be called in resources
Examples
incorrect
use_inline_resources
use_inline_resources if defined?(use_inline_resources)
use_inline_resources if respond_to?(:use_inline_resources)
Configurable attributes
| Name | Default value | Configurable values |
|---|---|---|
| Version Added | 5.4.0 | String |
| Include |
| Array |