[chef] Re: Hack: berkshelf 1.3 and vagrant 1.0


Chronological Thread 
  • From: Andrew Gross < >
  • To: chef < >
  • Subject: [chef] Re: Hack: berkshelf 1.3 and vagrant 1.0
  • Date: Tue, 26 Mar 2013 12:08:36 -0400

I managed to get the upgrade working, was a little bit of a struggle.  

General Steps
1. Install new Vagrant DMG (on mac)
2. Uninstall Vagrant Gem (from system, rvm, bundler whatever)
3. Install Berkshelf Vagrant Plugin (`vagrant plugin install berkshelf-vagrant`)
4. Upgrade Berkshelf Gem to 1.3.*
5. Rerun Berks install
6. Remove any 'require Berkshelf' sections from my Vagrantfile
7. Remove references to 'config.berkshelf.berksfile_path' from Vagrantfile

Notes:
`vagrant up` seems to not do a `vagrant provision` automatically, so now I have to chain the commands.

The `.vagrant` file is now actually a folder, so make sure to use rm -rf to clean up afterwards.

Granted my Vagrantfiles are very simple, so there may be more conversion needed.

Andrew


On Tue, Mar 26, 2013 at 10:09 AM, Brian Akins < " target="_blank"> > wrote:
I had so many issues with upgrading Vagrant that I decided to go back
to 1.0 for now. I needed Berkshelf integration.  I could not get the
"new" berkshelf-vagrant to work with vagrant 1.0, but that may be just
me.

So, here's my hack that others may find helpful - if only as comedic relief:

https://github.com/bakins/berkshelf-hobo




Archive powered by MHonArc 2.6.16.

§