-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathVagrantfile
35 lines (23 loc) · 969 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|
# Change this to the name of your Vagrant base box.
config.vm.box = "base"
# Change this to a URL from which the base box can be downloaded, if you like.
# config.vm.box_url = "http://domain.com/path/to/above.box"
# 'duckpan server' runs a development server on port 5000, so this forwards
# that port to make it accessible.
config.vm.network :forwarded_port, guest: 5000, host: 5000
# I like to have the virtual machine's window available, but you can comment
# this out if you don't want it.
config.vm.provider :virtualbox do |vb|
vb.gui = true
end
# Enable provisioning with chef solo, using the included cookbooks. The
# duckpan::default recipe sets up some dependencies and calls the included
# duckpan.sh shell script.
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = './cookbooks'
chef.add_recipe 'duckpan'
end
end