刚chef-solo
跑了。我在 中定义了我的食谱~/chef-repo/cookbooks/my-cookbook
,并且所有依赖项都由berkshelf
in安装~/.berkshelf/cookbooks
chef-solo -c solo.rb -j params.json
我不断遇到来自ohai
. 我认为这ohai
是一个提供环境配置的库,我的nginx-2.7.6
食谱依赖于ohai
( 2.0.1
)。
[2015-06-25T15:19:08-04:00] DEBUG: RuntimeError: remote_directory[/etc/chef/ohai_plugins for cookbook ohai] (ohai::default line 33) had an error: RuntimeError: cookbook_file[/etc/chef/ohai_plugins/README] (dynamically defined) had an error: RuntimeError: File files/default/plugins/README does not exist for cookbook ohai
我已经调查过了/etc/chef/ohai
,那里没有README
(实际上那个文件夹是空的)是正确的。不确定它在寻找什么或如何解决此错误。
谢谢!