Permalink
Browse files

Updated the Vagrantfile to use the new config format

  • Loading branch information...
1 parent d30f017 commit f30a3b4dc3ef939c197acccf9b3fe8b778c8dfa7 @Jahaja Jahaja committed Nov 28, 2013
Showing with 6 additions and 7 deletions.
  1. +5 −6 Vagrantfile
  2. +1 −1 examples/vagrant/vagrant.sh
View
@@ -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
@@ -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

0 comments on commit f30a3b4

Please sign in to comment.