Skip to main content

ChefGemNokogiri

All Cookstyle Cops


The department is: Chef/Modernize

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


Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

The nokogiri gem ships in Chef Infra Client 12+ and does not need to be installed before being used

Examples

incorrect

chef_gem 'nokogiri'

Configurable attributes

NameDefault valueConfigurable values
Version Added5.14.0String
Exclude
  • **/metadata.rb
  • **/attributes/*.rb
Array

Was this page helpful?