Skip to main content

Chef/Correctness/ResourceWithNoneAction

Cookstyle cops page

The Cookstyle cops department: Chef/Correctness

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