Chef Blogs

Ohai 0.5.0 Release

Adam Jacob | Posted on | release | Releases

Ohai! We’ve got a new release of Ohai for you, with a pair of much-needed fixes. The first is by our release MVP Tollef Fog Heen (whose just racking up the MVP’s lately – clearly, he is destined for the Hall of Fame.) Tollef has added support for disabling ohai plugins, which lets people control just how much information they really want to see. If you’re using Ohai with Chef, you can add this to your /etc/chef/client.rb:


Ohai::Config[:disabled_plugins] = [ 'passwd', 'darwin::system_profile' ]

Which would ensure that the ‘passwd’ and ‘darwin::system_profile’ Ohai plugins will be skipped. Thanks, Tollef!

Additionally, this release fixes a bug that was causing Ohai to leave behind zombie dmidecode processes on each run. The issue was that we were not waiting on our children if an exception was thrown while parsing the output of those children. Ohai now cleans up after itself regardless.

See you at Ohai 0.5.2!

Release Notes – Ohai – Version 0.5.0

Bug

  • [OHAI-155] – Chef summons army of dmidecode Zombies

New Feature

  • [OHAI-166] – Make it possible to disable plugins