-
Notifications
You must be signed in to change notification settings - Fork 148
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
Replaced deprecated config_global with vagrantfile.config #81
Conversation
I tried this out and am getting this when I run
|
Sorry about that, should be ok now. |
i am getting this too? any idea when the fix will be released? |
@yakobe No idea, but if you're not using hostmanager as a provisioner, you can clone my fork, build the gem and install the plugin from your filesystem via |
rolling back to vagrant 1.4.0 for now ;) |
@januzis I am trying to use your fork. I downloaded it, ran
and installed with
but then running vagrant up:
Any ideas? Thanks a million. |
@timrobertson100 Have you checked out
|
Thanks @januzis I did build the branch and my VagrantFile looks like yours, but:
Is not a critical issue for me right now - I can easily use IP addresses in my ansible files... Thanks for replying |
@timrobertson100 You need to install bundler: |
Indeed - thanks @januzis Looks like tests show the same issue: http:https://pastebin.com/6biFcLPv |
@timrobertson100 Try removing and adding the plugin, maybe there is a problem because you installed modified plugin on top of the old one.. The error message is exactly what you get, if you have no hostmanager plugin installed, and try to modify config.hostmanager section. Issue #77 has the same error message, solved by reinstalling everything. |
@timrobertson100 This might be caused by the new way vagrant 1.5 handles plugins under bundler. Check out this vagrant blog entry. Basically the Gemfile has to be changed to have vagrant-hostmanager inside a It should go from this: source 'https://rubygems.org'
group :development do
gem 'vagrant', :git => 'git:https://github.com/mitchellh/vagrant.git', :tag => 'v1.2.7'
end
gemspec To this: source 'https://rubygems.org'
group :development do
gem 'vagrant', :git => 'git:https://github.com/mitchellh/vagrant.git', :tag => 'v1.5.0'
end
group :plugins do
gemspec
end note: I also changed the vagrant tag. I was able to get vagrant to find the plugin again, but I've run into other problems because I'm using ruby 1.9.3 and vagrant now uses ruby 2.0. I'll try to test this as soon as I can. |
Thanks for all the info. |
Replaced deprecated config_global with vagrantfile.config to support vagrant 1.5 API
Thanks a lot @januzis. I'm going to look at what's breaking the provisioner code. |
Partially fixes issue #80 (for people who do not use hostmanager as provisioner).