Search code examples
chef-infraknife

knife configure -i fails


Running knife I keep on getting this error, google does not 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 a on a Ubuntu 13.10 server. Anyone have any ideas on how to solve this?


Solution

  • Upgrade to 11.12.4+

    The fix is in the Chef code in 11.12.4.rc1, the same 1 line fix as mentioned in user34's answer. Upgrading to 11.12.4+, when released, should solve the problem.

    Rich