Chef 13 Upgrade: Lessons Learnt and Documented for Posterity

I've recently been working through upgrading my Chef 12 cookbooks to Chef 13, as Chef 12 is to be End of Life'd in April 2018.

As part of this, there have been a few snags I've hit with respect to Chef 13 + Rubocop and Chef 13 + ChefSpec within my existing cookbooks.

For reasons I won't go into, I'm still using Rubocop over the Chef-recommended CookStyle, which it seems would have resolved a few of these issues.

Note that some, but not all, of the Rubocop fixes can be automagically resolved using rubocop --auto-correct.

Written by Jamie Tanna's profile image Jamie Tanna on , and last updated on .

Content for this article is shared under the terms of the Creative Commons Attribution Non Commercial Share Alike 4.0 International, and code is shared under the Apache License 2.0.

Tags
Related Posts

Other posts you may be interested in:

Interactions with this post

Interactions with this post

Below you can find the interactions that this page has had using WebMention.

Have you written a response to this post? Let me know the URL:

Do you not have a website set up with WebMention capabilities? You can use Comment Parade.