Knife setting

Running the knife i keep getting this error google doesn't seem to help much

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 

This is Ubuntu 13.10 server. Anyone have any ideas on how to solve this?

+7
chef knife
source share
3 answers

Update to 11.12.4 +

The fix in the Chef code is on 11.12.4.rc1 , the same fix in 1 line as indicated in the answer of user34. Updating to 11.12.4+ when it is released should fix the problem.

Rich

0
source share

It looks like an error noted by the chef, but the link he gave is broken / missing.

http://lists.opscode.com/sympa/arc/chef/2014-04/msg00174.html

I see, by the way, the same problem. What version of chef are you using?

EDIT: Got a link to work. Their mailing list added some hidden characters at the end of the URL ... This may help you: https://tickets.opscode.com/browse/CHEF-5211

+7
source share

There is a fix for this, ticket number is 5211 on their tracker for jira patches. Update the configure.rb file. You can find it by doing (find / -name "configure.rb"), which will return the location by simply doing vi on it and putting code in this line, and you should all be set. https://github.com/opscode/chef/pull/1374/files

+7
source share

All Articles