work with Ohai 7 and 6
Merge pull request #10 from thommay/ohai_7

work with Ohai 7 and 6