Chef/Modernize/OsxConfigProfileResource
The Cookstyle cops department: Chef/Modernize
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All 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
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.6.0 | String |
Include | Array |