makern/knife-vagrant2 — pull request #14 by krujos (2014-12-19 00:34:29+00:00)
Title: Add vagrant 1.7 support

PR checks the vagrant version on the machine and if 1.7 or higher uses the new private_key file generated by vagrant instead of the insecure_key that was previously used. I've tested this against our project with both vagrant (with virutalbox provider) 1.7.1 and 1.6.5 and observed correct behavior.

Extra eyes on the provider logic is probably worthwhile as I'm not sure that vagrant uses the same directory layout for each provider (I confirmed the structure for fusion and virtualbox), nor am I sure if the :chef_node_name directory always contains only one vm.

Great tool, thank you for it.
Josh