forked from wesleytodd/YeoPress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
31 lines (24 loc) · 902 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Box Config
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
# Apache
config.vm.network :forwarded_port, guest: 80, host: 8089
config.vm.network :forwarded_port, guest: 443, host: 4434
# MySQL
config.vm.network :forwarded_port, guest: 3306, host: 3307
# Set Timezone
config.vm.provision :shell,
:inline => "echo America/Chicago | sudo tee /etc/timezone && sudo dpkg-reconfigure --frontend noninteractive tzdata"
# Provision Box
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "default.pp"
puppet.module_path = "puppet/modules"
end
# Synced Folder
config.vm.synced_folder "test/site", "/home/vagrant/www"
config.vm.synced_folder ".", "/home/vagrant/generator-wordpress"
end