Skip to main content

LocaleDeprecatedLcAllProperty

All Cookstyle Cops


The department is: Chef/Deprecations

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


Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledNoAll Versions

The local resource’s lc_all property has been deprecated and will be removed in Chef Infra Client 17

Examples

incorrect

locale 'set locale' do
  lang 'en_gb.utf-8'
  lc_all 'en_gb.utf-8'
end

Configurable attributes

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

Was this page helpful?