forked from joindin/joindin-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
38 lines (30 loc) · 1.25 KB
/
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
36
37
38
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# We define one box (joindin), but
config.vm.define :joindin do |ji_config|
ji_config.vm.box = 'centos-62-64-puppet'
ji_config.vm.box_url = 'http://packages.vstone.eu/vagrant-boxes/centos/6.2/centos-6.2-64bit-puppet-vbox.4.1.12.box'
ji_config.vm.host_name = "joind.in"
# Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not.
ji_config.vm.forward_port 80, 8080
# Share an additional folder to the guest VM. The first argument is
# an identifier, the second is the path on the guest to mount the
# folder, and the third is the path on the host to the actual folder.
# config.vm.share_folder "v-data", "/vagrant_data", "../data"
# Use :gui for showing a display for easy debugging of vagrant
ji_config.vm.boot_mode = :gui
ji_config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "joindin.pp"
puppet.options = [
'--verbose',
# '--debug',
# '--graph',
# '--graphdir=/vagrant/puppet/graphs'
]
end
end
end