garrettux / knife-vagrant

Knife plugin for testing Chef code in a Vagrant VM
25 stars 15 forks source link

Remove calls to Vagrant::Environment#load! to make compatible with 1.1.0.dev #13

Closed teejayvanslyke closed 11 years ago

teejayvanslyke commented 11 years ago

Based on this issue from over two years ago, Vagrant::Environment no longer has a #load! method and lazy-loads its resources. I've removed calls to #load! and it seems to fix the problem.

There's a good chance I'm not understanding the problem since I'm relatively new to the Chef ecosystem. Feel free to advise :)

https://github.com/mitchellh/vagrant/issues/236

garrettux commented 11 years ago

sounds about right, most of this code is about 2 years old, and i haven't really been actively keeping it up to date. thanks for the fix!