How to install older ohai in omnibus chef install

It seems that ohai 6.14.0 which is included in the latest omnibus installer
has a bug again with detecting Linux VServer guest ip’s properly, so I need
to use the ohai 0.6.12 or 0.6.8 release. After a fresh omnibus chef
install, how would I remove ohai 6.14.0 and install ohai 0.6.12? I need to
do it outside of Chef and get the ohai version changed before Chef run’s
for the first time, since ohai fails completley and Chef won’t run at all.
Any ideas how to do this?


John Alberts

Please file a bug against Ohai at http://tickets.opscode.com.

You can run:
/opt/chef/embedded/bin/gem install ohai -v 0.6.12

Then use uninstall to remove the newer version.

Bryan
On Jun 24, 2012 11:56 AM, "John Alberts" john.m.alberts@gmail.com wrote:

It seems that ohai 6.14.0 which is included in the latest omnibus
installer has a bug again with detecting Linux VServer guest ip's properly,
so I need to use the ohai 0.6.12 or 0.6.8 release. After a fresh omnibus
chef install, how would I remove ohai 6.14.0 and install ohai 0.6.12? I
need to do it outside of Chef and get the ohai version changed before Chef
run's for the first time, since ohai fails completley and Chef won't run at
all. Any ideas how to do this?

--
John Alberts

Thank you. This worked fine. I'll submit a bug report.

On Sun, Jun 24, 2012 at 11:00 AM, Bryan McLellan btm@loftninjas.org wrote:

/opt/chef/embedded/bin/gem install ohai -v 0.6.12

--
John Alberts