-
Notifications
You must be signed in to change notification settings - Fork 18
/
Vagrantfile
24 lines (21 loc) · 894 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.define :sdi03 do |inv_config|
inv_config.vm.box = "sdi03"
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 = "sdi03"
inv_config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "sdi03.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