How to control the version of Chef that Vagrant uses to provision VMs?

后端 未结 6 1129
眼角桃花
眼角桃花 2020-12-07 08:26

A current Chef recipe isn\'t running because of a bug in version 0.10.10. How can I upgrade the version of Chef that Vagrant uses, to 0.10.12?

I don\'t want to just

6条回答
  •  眼角桃花
    2020-12-07 09:19

    If you are using Chef Test Kitchen, then you can specify the Chef version in .kitchen.yml file, like this:

    provisioner:
      name: chef_zero
      require_chef_omnibus: 12.6.0
    

提交回复
热议问题