Skip to main content

UnnecessaryMixlibShelloutRequire

All Cookstyle Cops


The department is: Chef/Modernize

The full name of the cop is: Chef/Modernize/UnnecessaryMixlibShelloutRequire


Enabled by default Supports autocorrection Target Chef Version
Enabled Yes All Versions

Chef Infra Client 12.4+ includes mixlib/shellout automatically in resources and providers.

Examples

incorrect

require 'mixlib/shellout'

Configurable attributes

Name Default value Configurable values
Version Added 5.12.0 String
Include
  • **/resources/*.rb
  • **/providers/*.rb
Array

Was this page helpful?

×









Search Results