Deprecation: epic_fail (CHEF-24)

[edit on GitHub]

The original name for the ignore_failure property in resources was epic_fail. Our documentation hasn’t referred to epic_fail for years and out of the 3500 cookbooks on the Supermarket only one uses epic_fail. In Chef Client 14 we will remove the epic_fail property entirely.

The Cookstyle cop ChefDeprecations/EpicFail has been introduced to detect and autocorrect this deprecation.

Remediation

Replace any usage of epic_fail with ignore_failure.

© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/deprecations_epic_fail/