forked from protalk/protalk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
31 lines (26 loc) · 1.21 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# This vagrant will be running on centos 6.4, 64bit with puppet provisioning
config.vm.box = 'centos-64-64bit-puppetlabs'
config.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box'
config.vm.define :protalk do |protalk_config|
protalk_config.vm.host_name = "www.protalk.dev"
protalk_config.vm.network :hostonly, "33.33.33.10"
# Pass custom arguments to VBoxManage before booting VM
protalk_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 `support/puppet/manifests/protalk.pp`)
protalk_config.vm.provision :puppet do |puppet|
puppet.manifests_path = "support/puppet/manifests"
puppet.module_path = "support/puppet/modules"
puppet.manifest_file = "protalk.pp"
puppet.options = [
'--verbose',
# '--debug',
]
end
end
end