Skip to main content

Chef/Modernize/UnnecessaryMixlibShelloutRequire

Cookstyle cops page

The Cookstyle cops department: Chef/Modernize

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

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

Examples

incorrect

require 'mixlib/shellout'

Configurable attributes

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

Thank you for your feedback!

×











Search Results