[chef] Issues with creating an ohai plugin


Chronological Thread 
  • From: Douglas Land < >
  • To:
  • Subject: [chef] Issues with creating an ohai plugin
  • Date: Tue, 29 Jan 2013 16:36:48 -0600

Hi all,

I apologize in advance because I'm guessing this is something dumb as
I'm pretty green to ruby. I'm trying to create a custom ohai plugin.
I've looked at examples and can't for the life of me figure out what
I'm doing wrong here:

https://github.com/looprock/ohai_plugins/blob/master/customjava.rb

When I try to query this I get:

knife node show cheftest.vast.com -a customjava -Fj
{
  "customjava": null
}

Any help would be greatly appreciated.



Archive powered by MHonArc 2.6.16.

§