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
plugin is not compatible with vagrant 1.4 #29
Comments
Any chance we could get a new release with #28 included? |
Working on getting my environment working, will try to get this out by the end of tonight. |
Pushed |
0.5.2 does not work with vagrant-berkshelf plugin |
I tried to get the dependencies working by using the following set of plugins:
They install and load so as far as I can tell there are no dependency issues, but when using
I am trying to track the issue down to hopefully some missing configuration on my side. |
The issue seems to be related to a clash between i18n and activesupport implementation of Hash#slice. |
Thanks @tnarik. I am working on removing the |
With vagrant 1.4 I have been able to remove a lot of the dependency locking for i18n and activesupport, removing them entirely from my explicit requirements. Check out |
Hi there, plugin versions:
Had some issues with vagrant-berkshelf plugin so I followed these instructions: berkshelf/vagrant-berkshelf#111 (comment) I ran
|
Seconding this one. I experienced this as well with plugin version 0.6.0, berkshelf-3.0.0.beta5, and vagrant-berkshelf-1.4.0.dev1. |
Thanks for the update, will try to replicate. |
Any update on this? I was just trying to get the whole vagrant chef zero toolchain working, and I ran into the "KeyError: key not found: :retries" error. I'm only using vagrant-omnibus and vagrant-chef-zero. |
@sammarx note that the Chef folks have officially deprecated the Vagrant-Berkshelf process in favor of other approaches (such as test kitchen), which would allow you to work around this problem. https://sethvargo.com/the-future-of-vagrant-berkshelf/ |
@eherot I'm not actually using berkshelf, just chef-zero and vagrant. |
Also important to call out @andrewgross's comment on that post. |
@sammarx to add some significance to the comment @jeffbyrnes pointed to, test-kitchen is now the preferred method of testing chef cookbooks, and it effectively deprecates the entire Vagrant chef plugin pool (including chef-zero). Test kitchen gives you a different way to use chef-zero with Vagrant to test cookbooks, even without Berkshelf (although I would highly recommend using Berkshelf). |
@eherot that makes sense. It looks like it's time to switch my workflow over to test kitchen. |
FWIW over in the Chef/OpenStack cookbooks, we hit this and we're dropping vagrant-berkshelf as well. We're using
before running Vagrant and we've added the following to our Vagrantfiles:
|
Hey all, Sorry for the neglect on this project, I've been sidetracked. I certainly agree with Seth's comments in that post. It is very hard to work within Vagrant when creating and maintaining plugins. I currently plan to support this plugin since I know that people still use it. However, I am of the opinion that the overall approach taken by test kitchen may be more appropriate for the use case of creating a testing pipeline. This plugin seems more useful for when you want to have an interactive environment while prototyping new changes. |
I'm fairly sure that the problem stems from Ridley's use of Hash#slice, like @tnarik had mentioned. @coderanger had also noticed a similar situation and filled a bug report on Ridley -- berkshelf/ridley#255 |
I have a feeling this is tied to #51 also. |
i saw this pull request #28
a few days ago but it seems that this is not been released yet
The text was updated successfully, but these errors were encountered: