-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVagrantfile
More file actions
35 lines (26 loc) · 1.03 KB
/
Vagrantfile
File metadata and controls
35 lines (26 loc) · 1.03 KB
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
source_directory = '/usr/local/htdocs'
Vagrant.configure("2") do |config|
config.vm.box = "ncsu-centos-6.2-64bit-puppet"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", 1536]
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME", "1"]
end
config.vm.box_url = "http://webapps.ncsu.edu/vagrant/ncsu-centos-6.2-64bit-puppet.box"
config.vm.network :forwarded_port, guest: 80, host: 80
config.vm.network :forwarded_port, guest: 3306, host: 3306
config.vm.network :private_network, ip: "192.168.33.10"
config.vm.synced_folder source_directory, "/var/www/html/", :nfs => true
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "configure.pp"
puppet.options = [
'--verbose',
'--debug',
# '--graph',
# '--graphdir=/vagrant/puppet/graphs'
]
end
end