shedd / duckpan-vagrant

Vagrant + Chef virtual development environment for DuckDuckGo (http://duckduckhack.com)
Apache License 2.0
5 stars 5 forks source link

Ubuntu 14.04 host compatibility updates (Fixed) #17

Closed mikedep333 closed 10 years ago

mikedep333 commented 10 years ago

I fixed the issue I identified last time.

As I said last time:

Hi. I've been emailing Jaryd about ways that I can contribute to the DuckDuckHack community with my sysadmin skills. (iwanttohack@duckduckgo.com and Caine are CC'd.) Jaryd suggested that I improve the VMs, so I suggested that I generate the VMs as much as possible from duckpan-vagrant.

Before I could do that though, I had to make these changes to get duckpan-vagrant to work on my Ubuntu 14.04 host.

I have not tested these changes yet on Ubuntu 12.04. I could install Ubuntu 12.04 on a spare physical computer at home and test them 1st if you'd like.

-Mike

shedd commented 10 years ago

Hey, Thanks for the pull request.

I ran into this issue initially: https://github.com/andrewgross/vagrant-chef-zero/issues/41

The syntax in the revised README used for vagrant plugin install doesn't seem to work, at least in zsh on Mac OS X.

I get:

➜  duckpan-vagrant git:(99580a9) vagrant plugin install vagrant-berkshelf --version '>= 2.0.1'
Vagrant 1.6.0

Instead, I followed the instructions in the above mentioned issue (using vagrant plugin install vagrant-berkshelf --plugin-version=2.0.11). That helped me set and maintain the proper version constraints to avoid the issue.

➜  duckpan-vagrant git:(99580a9) vagrant plugin install vagrant-berkshelf --plugin-version=2.0.1
Installing the 'vagrant-berkshelf --version '2.0.1'' plugin. This can take a few minutes...
Installed the plugin 'vagrant-berkshelf (2.0.1)'!
➜  duckpan-vagrant git:(99580a9) vagrant plugin list
vagrant-berkshelf (2.0.1)
  - Version Constraint: 2.0.1
vagrant-login (1.0.1, system)
vagrant-share (1.0.1, system)
vagrant-vbguest (0.10.0)
➜  duckpan-vagrant git:(99580a9) vagrant plugin install vagrant-omnibus
Installing the 'vagrant-omnibus' plugin. This can take a few minutes...
Installed the plugin 'vagrant-omnibus (1.4.1)'!
➜  duckpan-vagrant git:(99580a9) vagrant plugin list
vagrant-berkshelf (2.0.1)
  - Version Constraint: 2.0.1
vagrant-login (1.0.1, system)
vagrant-omnibus (1.4.1)
vagrant-share (1.0.1, system)
vagrant-vbguest (0.10.0)

Which version of Vagrant are you running? I'm running the latest - 1.6.0.

shedd commented 10 years ago

I should also note that everything else completed successfully once I modified these installation procedures.

mikedep333 commented 10 years ago

Hey Robert,

You're right, I updated the README incorrectly. I did run the correct command on my box though.

Also, previously I was using Vagrant 1.6.0. Now I am using 1.6.1. And now 1.6.2 got released. These rapid 0.0.x updates are just bugfixes, I doubt they affect compatibility or command syntax: https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.md

shedd commented 10 years ago

Great, thanks for the confirm. Can you tweak the README in this pull request and I'll merge? Thanks so much!

mikedep333 commented 10 years ago

Done. I think the commit made it into this pull request; I am new to github.

shedd commented 10 years ago

Yep, it's there. Thanks!