Ruby 厨师长是';我没有用我的食谱

Ruby 厨师长是';我没有用我的食谱,ruby,chef-infra,chef-solo,Ruby,Chef Infra,Chef Solo,我有一个食谱,chef之前已经运行过了,现在我添加了一些东西,我得到的只是 $ sudo chef-solo -c solo.rb web.json Starting Chef Client, version 11.8.2 Compiling Cookbooks... Converging 0 resources Chef Client finished, 0 resources updated 我试着把语法不正确的ruby放在配方的default.rb中,但它并没有破坏,也没有发生其他任何事

我有一个食谱,
chef
之前已经运行过了,现在我添加了一些东西,我得到的只是

$ sudo chef-solo -c solo.rb web.json
Starting Chef Client, version 11.8.2
Compiling Cookbooks...
Converging 0 resources
Chef Client finished, 0 resources updated
我试着把语法不正确的ruby放在配方的
default.rb
中,但它并没有破坏,也没有发生其他任何事情。我错过了什么

solo.rb文件是:

file_cache_path "/home/username/chef-solo"
cookbook_path "/home/username/chef-repo/cookbooks"

我错过了
web.json
文件的
-j
选项。命令应为:

$ sudo chef-solo -c solo.rb -j web.json