-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
29 lines (23 loc) · 1.18 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
# --*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "centos64"
# This pulls down quite a bit of updates and installs the guest VM addtions for VirtualBox...
config.vm.box_url = "http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-x86_64-v20131103.box"
config.vm.hostname = "wp-dev-localhost"
# You will need to forward ports on your machine to allow yourself
# to view the wordpress install hosted on the VM
# I have this documented in my tiddlywiki but it's a bit involved...
config.vm.network :forwarded_port, host: 8080, guest: 80
config.vm.network :forwarded_port, host: 8443, guest: 443
config.vm.network :forwarded_port, host: 3000, guest: 3000
config.vm.provision "puppet" do |puppet|
# Good for debugging
#puppet.options = " --verbose --detailed-exitcodes"
# NOTE: This might need to change to reflect your user and home directory. This should
# work but if you get 'class not found' errors, look here
puppet.module_path = "~/.puppet/modules/"
end
end