ERROR: Ohai::Exceptions::DependencyNotFound: Can not find a plugin for dependency os

I’m trying to run “knife configure --initial” command, without success.

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

I’ve tried running it on Debian 7, various Ubuntu versions, CentOS 6.5, without success.
Each time, I’m getting the same error (Can not find a plugin for dependency os).

What should I do to successfully run this command?


Tomasz Chmielewski
http://wpkg.org

On Fri, 11 Apr 2014 01:59:07 +0100
Tomasz Chmielewski mangoo@wpkg.org wrote:

I'm trying to run "knife configure --initial" command, without
success.

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

I've tried running it on Debian 7, various Ubuntu versions, CentOS
6.5, without success. Each time, I'm getting the same error (Can not
find a plugin for dependency os).

What should I do to successfully run this command?

By the way the error shows up when I've tried to use Chef 11.12.2-1 and
11.12.0-1 versions for x86_64.

With 10.32.2-1, it works fine - is it expected?

--
Tomasz Chmielewski
http://wpkg.org

It’s a bug. https://tickets.opscode.com/browse/CHEF-5211

--
Daniel DeLeo

On Thursday, April 10, 2014 at 6:12 PM, Tomasz Chmielewski wrote:

On Fri, 11 Apr 2014 01:59:07 +0100
Tomasz Chmielewski <mangoo@wpkg.org (mailto:mangoo@wpkg.org)> wrote:

I'm trying to run "knife configure --initial" command, without
success.

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

I've tried running it on Debian 7, various Ubuntu versions, CentOS
6.5, without success. Each time, I'm getting the same error (Can not
find a plugin for dependency os).

What should I do to successfully run this command?

By the way the error shows up when I've tried to use Chef 11.12.2-1 and
11.12.0-1 versions for x86_64.

With 10.32.2-1, it works fine - is it expected?

--
Tomasz Chmielewski
http://wpkg.org

On Thu, 10 Apr 2014 18:13:43 -0700
Daniel DeLeo dan@kallistec.com wrote:

It’s a bug. https://tickets.opscode.com/browse/CHEF-5211

Thanks, works for me after applying these patches.

--
Tomasz Chmielewski
http://wpkg.org