update syntax from ohai6 to ohai7