Hi,
in the next release of Chef - in about a month’s time - we’ll be changing chef-solo so that it uses the same code as chef-client’s local-mode (when you run chef-client -z
).
We’ve been meaning to do this for some time - the RFC was accepted in November 2014 - so we’re really excited to get this out.
That said, we’d really appreciate as much testing as possible so that we can ensure it is working properly. I and others have done tests with chef-solo-search
, and it all seems good, but that’s clearly not the whole story.
You should not have to change your recipes at all - Chef::Config[:solo]
will still be set as before.
I’m aware of at least one bug - https://github.com/chef/chef/issues/4948 - if you’re using vagrant directly.
To test, install a current version of chef using
curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -c current -P chef
or
. { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install -channel current -project chef
and run as usual.
The old behaviour of chef-solo
is still available by uttering chef-solo --legacy-mode
.
Thanks,
-Thom