Skip to main content

Chef/Deprecations/UseInlineResourcesDefined

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll 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

NameDefault valueConfigurable values
Version Added5.4.0String
Include
  • **/libraries/*.rb
  • **/providers/*.rb
  • **/resources/*.rb
Array

Thank you for your feedback!

×











Search Results