Skip to main content

ResourceWithNoneAction

The department is: ResourceWithNoneAction

The full name of the cop is: Chef/Correctness/ResourceWithNoneAction

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

The :nothing action is often typo’d as :none

Examples

incorrect

service 'foo' do
 action :none
end

correct

service 'foo' do
 action :nothing
end

Configurable attributes

NameDefault valueConfigurable values
Version Added5.5.0String
Include
    Array

    Thank you for your feedback!

    ×









    Search Results