Permalink
Browse files

Make clean environment

  • Loading branch information...
1 parent 2a8b741 commit 6cb3131e4a0870a71e9b4be9a7bcbe339b46316d @abtris committed Mar 26, 2013
Showing with 4 additions and 17 deletions.
  1. +4 −17 Vagrantfile
View
@@ -1,7 +1,7 @@
Vagrant.configure("2") do |config|
- config.vm.box = "wea-jenkins"
- config.vm.box_url = "http://dl.dropbox.com/u/50153812/package.box"
+ config.vm.box = "precise"
+ config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.provider :virtualbox do |v|
v.gui = false
@@ -10,27 +10,14 @@ Vagrant.configure("2") do |config|
config.vm.synced_folder "data/", "/vagrant/data"
config.vm.define :master do |master|
- master.vm.name "master.vm"
- master.vm.provision :chef_solo do |chef|
- chef.add_recipe "apt"
- chef.add_recipe "java"
- chef.add_recipe "jenkins::iptables"
- chef.add_recipe "jenkins"
-
- end
+ master.vm.hostname = "master.vm"
master.vm.network :forwarded_port, guest: 8080, host: 8080
master.vm.network :forwarded_port, guest: 80, host: 3000
master.vm.network :private_network, ip: "33.33.33.10"
end
config.vm.define :slave do |slave|
- slave.vm.name "slave.vm"
- slave.vm.provision :chef_solo do |chef|
- chef.add_recipe "apt"
- chef.add_recipe "java"
- chef.add_recipe "jenkins::iptables"
- chef.add_recipe "jenkins::node_jnlp"
- end
+ slave.vm.hostname = "slave.vm"
slave.vm.network :private_network, ip: "33.33.33.20"
end

0 comments on commit 6cb3131

Please sign in to comment.