opscode-cookbooks/ohai — pull request #10 by tmatilai (2013-05-30 19:46:34+00:00)
Title: [COOK-3091] Check that Chef::Config[:config_file] is set before using it

Ticket: http://tickets.opscode.com/browse/COOK-3091

At least on some ChefSpec setups the `Chef::Config[:config_file]` seems to be `nil` and then `IO.read` raises an exception.