-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
52 lines (36 loc) · 1.54 KB
/
Vagrantfile
File metadata and controls
52 lines (36 loc) · 1.54 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.synced_folder "C:/Users/Chris/Desktop/redcap", "/tmp/vagrant/redcap"
config.vm.synced_folder "C:/Users/Chris/Desktop/redcap/redcap_v6.14.0/Resources/sql", "/tmp/vagrant/MySQL_setup"
config.vm.provision :shell do |shell|
shell.inline = "mkdir -p /etc/puppet/modules;
puppet module install puppetlabs/stdlib"
end
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "vagrant_manifest1.pp"
end
config.vm.provision :shell do |shell|
shell.inline = "sudo cp -R /tmp/vagrant/redcap /var/www/html"
end
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "vagrant_manifest2.pp"
end
config.vm.network "forwarded_port", guest: 80, host: 1130
# config.vm.box_check_update = false
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"
# Share an additional folder to the guest VM.
# config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
# Customize the amount of memory on the VM:
# vb.memory = "1024"
# end
end