updated to support new ohai plugin framework and also work with the knife-vagrant plugin