Skip to main content

MacOsXUserdefaults

The department is: MacOsXUserdefaults

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

Enabled by default Supports autocorrection Target Chef Version
Enabled Yes 14.0+

The mac_os_x_userdefaults resource was renamed to macos_userdefaults when it was added to Chef Infra Client 14.0. The new resource name should be used.

Examples

incorrect

mac_os_x_userdefaults 'full keyboard access to all controls' do
  domain 'AppleKeyboardUIMode'
  global true
  value '2'
end

correct

macos_userdefaults 'full keyboard access to all controls' do
  domain 'AppleKeyboardUIMode'
  global true
  value '2'
end

Configurable attributes

Name Default value Configurable values
Version Added 5.6.0 String
Include
Array

Was this page helpful?

×









Search Results