forked from g4code/crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
35 lines (25 loc) · 854 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "hashicorp/precise64"
config.vm.hostname = "crypto"
config.vm.network "private_network", ip: "192.168.33.12"
config.vm.synced_folder "./", "/vagrant_data"
config.vm.provider "virtualbox" do |vb|
vb.memory = 1024
vb.cpus = 2
end
config.berkshelf.enabled = true
config.berkshelf.berksfile_path = './cookbooks/engine/Berksfile'
config.vm.provision "infra", type: "chef_solo" do |chef|
chef.channel = "stable"
chef.version = "12.10.24"
chef.add_recipe 'apt'
chef.add_recipe 'engine::php5'
end
config.vm.provision "test", type: "chef_solo" do |chef|
chef.channel = "stable"
chef.version = "12.10.24"
chef.add_recipe 'engine::test'
end
end