2014-04-14 63 views
7

运行刀我不断收到此错误,谷歌似乎并没有多大帮助刀配置-i失败

WARNING: No knife configuration file found 
Where should I put the config file? [/home/ubuntu/.chef/knife.rb] 
ERROR: Ohai::Exceptions::DependencyNotFound: Can not find a plugin for dependency os 

这是一个Ubuntu的13.10服务器上。任何人有任何想法如何解决这个问题?

回答

7

有一个补丁,它的jira补丁跟踪器上的票号是5211。更新configure.rb文件。你可以通过运行(find/-name“configure.rb”)来找到它,它会返回该位置,然后放入该行代码,并且应该全部设置。 https://github.com/opscode/chef/pull/1374/files

+0

棒极了!非常简单,而不是升级服务器..谢谢 – Satish