Skip to main content

PolicyfileCommunitySource

The department is: PolicyfileCommunitySource

The full name of the cop is: Chef/Deprecations/PolicyfileCommunitySource

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

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

Examples

incorrect

default_source :community

correct

default_source :supermarket

Configurable attributes

Name Default value Configurable values
Version Added 7.15.0 String
Include
  • **/Policyfile.rb
Array

Was this page helpful?

×









Search Results