[chef] Re: Ohai bombs out on start in fresh (VM) install


Chronological Thread 
  • From: Adam Jacob < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] Re: Ohai bombs out on start in fresh (VM) install
  • Date: Sat, 20 Mar 2010 08:51:50 -0700

hrm, odd.  The data gets set in lib/plugins/os.rb

Can you file a ticket at tickets.opscode.com, and include the output of ohai -l debug?

Meanwhile, we'll check it out on squeeze.

Thanks!

Sent from my iPhone

On Mar 20, 2010, at 6:10 AM, Matthew King < > wrote:

# ohai
/usr/lib/ruby/1.8/ohai/system.rb:120:in `join': can't convert nil into String (TypeError)
   from /usr/lib/ruby/1.8/ohai/system.rb:120:in `all_plugins'
   from /usr/lib/ruby/1.8/ohai/system.rb:117:in `each'
   from /usr/lib/ruby/1.8/ohai/system.rb:117:in `all_plugins'
   from /usr/lib/ruby/1.8/ohai/application.rb:89:in `run_application'
   from /usr/lib/ruby/1.8/ohai/application.rb:67:in `run'
   from /usr/bin/ohai:40

The nil in question is @data[:os]. I don't know why it's nil because I
can't find where it gets set (invisible class initialisation for the
win!). Presumably it should be 'linux'.

I am using the ohai in plain ol' squeeze.

Matthew

--
I must take issue with the term "a mere child", for it has been my
invariable experience that the company of a mere child is infinitely
preferable to that of a mere adult.
                                          --  Fran Lebowitz



Archive powered by MHonArc 2.6.16.

§