Skip to main content

Chef/Deprecations/EpicFail

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

Use ignore_failure in resources to continue when failures occur instead of the deprecated epic_fail property.

Examples

incorrect

package "foo" do
  epic_fail true
end

correct

package "foo" do
  ignore_failure true
end

Configurable attributes

NameDefault valueConfigurable values
Version Added5.1.0String
Include
    Array

    Thank you for your feedback!

    ×










    Search Results