chef-cft / chef-examples

48 stars 32 forks source link

Example Update Request: Custom Cookstyle Rules #49

Closed scottvidmar closed 4 years ago

scottvidmar commented 4 years ago

Example Request

This example request includes usage of the following Chef products (select one or more):

Problem Statement

After talking with Tim Smith about Cookstyle 6.11/Workstation 20.7.96, the latest Rubocop has been pulled in, which has a newer method of defining the autocorrect pieces of Cookstyle rules. We need to update this, so we have rule-writing instructions for both.

External References

Additional Notes

This should have a new section appended to ensure we maintain historical instructions should the need arise.

scottvidmar commented 4 years ago

The rubocop changes to matchers and autocorrect has changed some behaviors that are causing me some grief. Luckily, it looks like the old style still works for the time being.

scottvidmar commented 4 years ago

Figured out the new style. Forming this up into markdown, and following same format as before to illustrate basics.