-
Notifications
You must be signed in to change notification settings - Fork 2
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
failling "See if Vagrant plugins just didn't install" on Fedora 22 #8
Comments
Vagrant keeps multiple lists of plugins. There are the installed files in the appropriate directory (multiple, actually), plus JSON lists internally. I filed this bug as a reminder that I need to go in and spelunk through Vagrant's private structures for this at some point, because they get out of sync :-( It's absolutely reproducible on a clean new account -- this is basically a case where sometimes you get errors during installation that Vagrant doesn't notice, and it thinks the plugin installed successfully when it didn't. |
What is the mechanism by which the |
I'm honestly not sure. Originally I thought this was impossible too. But if your explanation (and my original one) was correct, that test should never fail. And clearly, it fails. |
I just discovered the difference. Running |
Interesting. I patched around this issue in several places. I might well have missed one. |
Trying to complete
rvmsudo madscience construct
on a fedora 22 x86_64 system and failing "See if Vagrant plugins just didn't install" at ~/.rvm/gems/ruby-2.2.1/gems/madscience-0.0.29/site-cookbooks/madscience-vagrant-cookbook/recipes/default.rb:121.if I include
#{output}
in theraise
string, only the default plugin is listed:vagrant-share (1.1.4, system)
The strange thing is that vagrant plugin list looks correct:
The block also passes in pry if I substitute
ALL_PLUGINS = ['vagrant-omnibus','vagrant-librarian-chef','vagrant-aws','vagrant-digitalocean','vagrant-linode','vagrant-host-shell']
so I can't figure out whyoutput
is different only within chef. Also strange, Recipe: vagrant::install_plugins succeeds just prior:I was able to reproduce this with a completely clean user account and fresh rvm install.
The text was updated successfully, but these errors were encountered: