Ohai error when running knife configure


#1

I have an Ubuntu 13.10 x64 machine on which I have installed the
chef_11.12.2-1_amd64.deb package. I have a user created in the Chef
server, which is an admin. I grabbed that pem file and the validator
pem. When I run “knife configure -i” on the client, I get this:

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

I can run ohai by itself and get a pile of data back.

Any clues?

Thanks.

-Pete


#2

I had the same thing…
See if this doesn’t help you:

Its a bug. If you make the changes mentioned here:


…that should fix you.

Seth

On Fri, Apr 18, 2014 at 7:39 PM, Peter Loron peterl@standingwave.orgwrote:

I have an Ubuntu 13.10 x64 machine on which I have installed the
chef_11.12.2-1_amd64.deb package. I have a user created in the Chef server,
which is an admin. I grabbed that pem file and the validator pem. When I
run “knife configure -i” on the client, I get this:

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

I can run ohai by itself and get a pile of data back.

Any clues?

Thanks.

-Pete


#3

That was it! Thanks!

-Pete

On 2014-04-18 16:45, Seth Floyd wrote:

I had the same thing…See if this doesn’t help
you: http://stackoverflow.com/questions/23060354/knife-configure-i-fails/23067047#23067047
[1]

Its a bug. If you make the changes mentioned
here: https://github.com/opscode/chef/pull/1374/files [2]
…that should fix you.

Seth

On Fri, Apr 18, 2014 at 7:39 PM, Peter Loron peterl@standingwave.org
wrote:

I have an Ubuntu 13.10 x64 machine on which I have installed the
chef_11.12.2-1_amd64.deb package. I have a user created in the Chef
server, which is an admin. I grabbed that pem file and the validator
pem. When I run “knife configure -i” on the client, I get this:

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

I can run ohai by itself and get a pile of data back.

Any clues?

Thanks.

-Pete

Links:

[1]
http://stackoverflow.com/questions/23060354/knife-configure-i-fails/23067047#23067047
[2] https://github.com/opscode/chef/pull/1374/files