-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Butcher not triggered when using Vagrant 1.7.1 and Butcher 2.2.0 #57
Comments
Thx 4 the fix :) Unfortunately the client and node are not removed anymore on vagrant destroy :/. When I inspected the behavior in more detail I saw butcher is never creating his folder under the .vagrant folder. Heres the log https://gist.github.com/Yserz/96ce0cd7e478a5b57dba |
I couldn't reproduce this issue... |
For now I can give you the Vagrantfile and the box. I'll test it with a clean Vagrant when I have more time. Would it be sufficient to deinstall every plugin except the butcher one? Vagrantfile: https://github.com/welovecoding/wlc-virtual-infrastructure/blob/master/vm-wlc-test/Vagrantfile Box: https://atlas.hashicorp.com/wlc/boxes/centos-7.0 Note that chef is executed without any items in the runlist. Thus chef is not creating a node on the server (but a client). Maybe that's a part of the problem? On the other side butcher is never creating his butcher-folder so the problem is probably way before. |
That should do it. Thanks for the files. I'll try with them and see what happens. |
Okay, I figured out it's a problem with the vagrant-cachier plugin, again <.< |
I see... Well, let's wait for @fgrehm on fgrehm/vagrant-cachier#133 . Hopefully when vagrant-cachier gets fixed this will work as expected. |
I was able to monkeypatch it like this:
I can confirm butcher is working correctly with that cachier-patch. |
Using [Array#keep_if](http://www.ruby-doc.org/core-1.9.3/Array.html#method-i-keep_if) on a Vagrant core object can lead to unpredictable behaviour down the line as it modifies the object instead of creating a new one. An example of such interference is described on c10l/vagrant-butcher#57. The problem with `keep_if` was identified by @sethvargo on this issue: hashicorp/vagrant#5060 (comment)
The root cause of the interference between the plugins was identified by @sethvargo on hashicorp/vagrant#5060. I sent a pull request for |
See also hashicorp/vagrant#5069 (for the provisioner name vs type issue) |
Butcher seems not to be triggered when using Vagrant 1.7.1 and Butcher 2.2.0. There's no error nor any other output.
The text was updated successfully, but these errors were encountered: