I am setting up a simple vagrant box with chef solo as the provisioner. Everything was going fine until i tried running it on my laptop. The machine comes up fine but when it pr
I had to set both version and channel in my Vagrantfile:
chef.channel = "stable"
chef.version = "12.10.24"
This way vagrant uses the good url to download old chef stable version.
I seem to have found the answer. I'll post it here in case anyone else is experiencing this issue
This a bug in the current "latest" build of chef when using vagrant.
https://github.com/chef/chef/issues/4948
The last comment on the issue solves the error.
I believe this is related to this issue in Chef core.
The fix seems to be to add the following to your chef_solo provisioner section in your Vagrantfile:
chef.version = '12.10.40'