Skip to main content

Chef/Deprecations/PolicyfileCommunitySource

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

The Policyfile source of :community has been replaced with :supermarket

Examples

incorrect

default_source :community

correct

default_source :supermarket

Configurable attributes

NameDefault valueConfigurable values
Version Added7.15.0String
Include
  • **/Policyfile.rb
Array

Thank you for your feedback!

×