SysctlParamResource
The department is: Chef/Modernize
The full name of the cop is: Chef/Modernize/SysctlParamResource
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | 14.0+ |
The sysctl_param resource was renamed to sysctl when it was added to Chef Infra Client 14.0. The new resource name should be used.
Examples
incorrect
sysctl_param 'fs.aio-max-nr' do
value '1048576'
end
correct
sysctl 'fs.aio-max-nr' do
value '1048576'
end
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.6.0 | String | Exclude |
|
Array |
Was this page helpful?