forked from pghalliday/grunt-mocha-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
32 lines (26 loc) · 829 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# install chef solo on all machines
config.omnibus.chef_version = "11.4.4"
# enable berkshelf
config.berkshelf.enabled = true
config.vm.define "grunt-mocha-test" do |node|
node.vm.hostname = "grunt-mocha-test"
node.vm.box = "precise-server-cloudimg-amd64"
node.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
node.vm.provider :virtualbox do |vb|
# Give enough horsepower to build without taking all day.
vb.customize [
"modifyvm", :id,
"--memory", "1024",
"--cpus", "2",
]
end
node.vm.provision :chef_solo do |chef|
chef.run_list = [
"recipe[grunt-mocha-test]"
]
end
end
end