- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Upgrading from chef 11 to 12
- Date: Thu, 5 Feb 2015 18:52:52 -0800
On Thursday, February 5, 2015 at 6:08 PM, Taylor Price wrote:
>
Hey guys,
>
>
I'm looking to upgrade my chef server to chef 12, and I want to get
>
opinions on the transition. Am I going to have any issues upgrading?
>
>
Are there any compatability issues with cookbooks written with chef 11 in
>
mind?
FYI, you don’t have to upgrade your clients and server in lockstep. 11.x
clients work with 12.x server and vice versa.
There are a handful of minor compatibility breakages between Chef Client 11.x
and Chef Client 12.x. One of the most significant is that SSL certificate
verification is enabled by default. So before you upgrade clients, fix the
ssl warnings from chef-client 11 (I think these were introduced in
chef-client 11.8 or so) and try running with `ssl_verify_mode :verify_peer`
in your client.rb. If you can’t possibly get that to work, you can opt out in
client 12.x by setting `ssl_verify_mode :verify_none` (but you should really
try to avoid that). Most of the other significant changes are documented
here:
http://docs.chef.io/release_notes.html and here:
https://github.com/chef/chef-rfc/blob/master/rfc015-chef-12.md
On the server side, you might be interested in doing a restore to a fresh
Chef 12 installation for testing, which is discussed in this thread:
http://lists.opscode.com/sympa/arc/chef/2014-10/msg00117.html
HTH,
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.