forked from davmillar/DavesMapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
34 lines (23 loc) · 1005 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
#Vagrant.require_version ">= 1.4"
Vagrant.configure("2") do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "base"
config.vm.host_name = "davesmapper.localdomain"
config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box"
config.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true
# 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.provision :puppet do |puppet|
puppet.options = "--hiera_config puppet/hiera.yaml"
puppet.module_path = "puppet/modules"
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "base.pp"
puppet.facter = {
## tells default.pp that we're running in Vagrant
"is_vagrant" => true,
}
end
end