forked from mmoscosa/joind.in
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
36 lines (31 loc) · 1.41 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = 'centos-62-64-puppet'
config.vm.box_url = 'http://packages.vstone.eu/vagrant-boxes/centos/6.2/centos-6.2-64bit-puppet-vbox.4.1.12.box'
# config.vm.boot_mode = :gui # uncomment if you get stuck on "Waiting for VM to boot"
# Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not.
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"
# Pass custom arguments to VBoxManage before booting VM
config.vm.customize [
'modifyvm', :id, '--chipset', 'ich9', # solves kernel panic issue on some host machines
# '--uartmode1', 'file', 'C:\\base6-console.log' # uncomment to change log location on Windows
]
# Pass installation procedure over to Puppet (see `puppet/manifests/joindin.pp`)
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