forked from joindin/joindin-vm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
40 lines (31 loc) · 1.32 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
39
40
# -*- 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-6x-64-puppet_chef'
ji_config.vm.box_url = 'http://packages.vstone.eu/vagrant-boxes/centos/6.x/centos-6.x-64bit-puppet.3.x-chef.0.10.x-vbox.4.2.12-3.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'
"--hiera_config /vagrant/puppet/hiera.yaml"
]
end
end
end