updating ohai plugin to Ohai7 syntax