Skip to main content

Chef/Modernize/OsxConfigProfileResource

Cookstyle cops page

The Cookstyle cops department: Chef/Modernize

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
Include
    Array

    Thank you for your feedback!

    ×