- From: Matthew King <
>
- To:
- Subject: [chef] Ohai bombs out on start in fresh (VM) install
- Date: Sat, 20 Mar 2010 13:10:37 +0000
# 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
- [chef] Ohai bombs out on start in fresh (VM) install, Matthew King, 03/20/2010
Archive powered by MHonArc 2.6.16.