Skip to content

Commit

Permalink
Updated the Vagrantfile to use the new config format
Browse files Browse the repository at this point in the history
  • Loading branch information
Joakim Hamren committed Nov 28, 2013
1 parent d30f017 commit f30a3b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Vagrant::Config.run do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.forward_port 8089, 8089
config.vm.forward_port 9001, 9001
config.vm.provision :shell, :path => "examples/vagrant/vagrant.sh"
Vagrant.configure("2") do |config|
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.network :forwarded_port, guest: 8089, host: 8089
config.vm.provision :shell, :path => "examples/vagrant/vagrant.sh"
end
2 changes: 1 addition & 1 deletion examples/vagrant/vagrant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Update and install some dependencies
apt-get -y update
apt-get -y install build-essential python-pip python-dev libevent-dev libzmq-dev
apt-get -y install build-essential python-pip python-dev libevent-dev libev-dev libzmq-dev
cd /vagrant

pip install --use-mirrors pyzmq supervisor
Expand Down

0 comments on commit f30a3b4

Please sign in to comment.