@@ -52,6 +52,8 @@ Vagrant.configure(2) do |config|
52
52
53
53
54
54
config.berkshelf.enabled = true
55
+ config.berkshelf.berksfile_path = "~/Calavera/Berksfile"
56
+
55
57
56
58
# how to boost capacity
57
59
#config.vm.provider :virtualbox do |virtualbox|
@@ -139,42 +141,4 @@ Vagrant.configure(2) do |config|
139
141
# test: curl http://10.1.0.62:8080/MainServlet
140
142
# or curl http://127.0.0.1:91XX/MainServlet (8080 forwarded port, see above)
141
143
142
-
143
-
144
- ###############################################################################
145
- ################################### test ##############################
146
- ###############################################################################
147
- # a test machine to try out new things
148
- # not part of the pipeline
149
-
150
- config.vm.define "test" do | test |
151
-
152
- config.vm.provider :virtualbox do |virtualbox|
153
- virtualbox.customize ["modifyvm", :id, "--memory", "2048"]
154
- virtualbox.customize ["modifyvm", :id, "--cpuexecutioncap", "50"]
155
- end
156
-
157
- test.vm.host_name ="test.calavera.biz"
158
- test.vm.network "private_network", ip: "192.168.33.99"
159
- test.vm.network "forwarded_port", guest: 22, host: 2299, auto_correct: true
160
- test.vm.network "forwarded_port", guest: 80, host: 8099, auto_correct: true
161
- test.vm.network "forwarded_port", guest: 8080, host: 8199, auto_correct: true
162
-
163
- test.ssh.forward_agent =true
164
-
165
- test.vm.synced_folder ".", "/home/test"
166
- test.vm.synced_folder "./shared", "/mnt/shared"
167
-
168
- test.vm.provision :shell, path: "./shell/test.sh"
169
- test.vm.provision :shell, path: "./shell/test2.sh"
170
- # test.vm.provision :chef_zero do |chef|
171
- # chef.cookbooks_path = ["./cookbooks/"]
172
- # chef.data_bags_path = ["./data_bags/"]
173
- # chef.nodes_path = ["./nodes/"]
174
- # chef.roles_path = ["./roles/"]
175
- # chef.add_recipe "shared::_apt-update"
176
- # chef.add_recipe "java7::default"
177
- # chef.add_recipe "test::default"
178
- # end
179
- end
180
- ###############################################################################
144
+ end
0 commit comments