-
Notifications
You must be signed in to change notification settings - Fork 4
/
Vagrantfile
25 lines (22 loc) · 1008 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.define :canheit do |inv_config|
inv_config.vm.box = "canheit"
inv_config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
inv_config.vm.customize ["modifyvm", :id, "--rtcuseutc", "on"]
inv_config.ssh.max_tries = 10
inv_config.vm.forward_port 80, 8080
inv_config.vm.forward_port 3306, 8889
inv_config.vm.host_name = "canheit"
inv_config.vm.share_folder("v-root", "/vagrant", ".", :owner => "www-data", :group => "www-data")
inv_config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "canheit.pp"
puppet.module_path = "puppet/modules"
#puppet.options = "--verbose --debug"
#puppet.options = "--verbose"
end
inv_config.vm.provision :shell, :path => "puppet/scripts/enable_remote_mysql_access.sh"
end
end