OsxConfigProfileResource
The department is: OsxConfigProfileResource
The full name of the cop is: Chef/Modernize/OsxConfigProfileResource
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 |