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

前端 未结 7 1863
故里飘歌
故里飘歌 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:13

    for me the solution was to make sure every cookbook I was using had a "name" attribute in it with the name of the cookbook. 'redis', 'install_from', and 'metachef' cookbooks were all missing the name field from the metadata.rb

    chef-client v12.3.0 helped uncover this, 12.4.1 was not showing me anything useful

提交回复
热议问题