undefined method “cheffish” for nil:NilClass, when provisioning chef with vagrant

前端 未结 7 1861
故里飘歌
故里飘歌 2021-01-02 06:46

I\'m trying to run a django-server in a Vagrant box using Chef, but I\'ve been stuck on this for a few hours and can\'t find anything online. The relevant bit of my vagrantf

7条回答
  •  既然无缘
    2021-01-02 07:14

    I've gotten this same error in Test Kitchen as well, though, not caused by the bug. The error message is exceptionally cryptic for the general case of a cookbook constraint not being met (i.e. a cookbook name or version that can't be found). In my case, from .kitchen.yml, I included an environment with specific cookbook version constraints, then specified conflicting version constraints in a Berksfile. That was dumb, so don't do that!

提交回复
热议问题