Skip to main content

EpicFail

All Cookstyle Cops


The department is: Chef/Deprecations

The full name of the cop is: Chef/Deprecations/EpicFail


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
Exclude
  • **/attributes/*.rb
  • **/metadata.rb
  • **/Berksfile
Array

Was this page helpful?

×








Search Results