Skip to main content

OsxConfigProfileResource

All Cookstyle Cops


The department is: Chef/Modernize

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


Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

The osx_config_profile resource was renamed to osx_profile. The new resource name should be used.

Examples

incorrect

osx_config_profile 'Install screensaver profile' do
  profile 'screensaver/com.company.screensaver.mobileconfig'
end

correct

osx_profile 'Install screensaver profile' do
  profile 'screensaver/com.company.screensaver.mobileconfig'
end

Configurable attributes

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

Was this page helpful?