-
Notifications
You must be signed in to change notification settings - Fork 22
/
Vagrantfile
35 lines (26 loc) · 1.03 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
30
31
32
33
34
35
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "oraclelinux-6-x86_64"
config.vm.box_url = "http://cloud.terry.im/vagrant/oraclelinux-6-x86_64.box"
config.vm.hostname = "oracle"
config.ssh.forward_x11=true
# Forward Oracle ports
config.vm.network :forwarded_port, guest: 1521, host: 1521
config.vm.network :forwarded_port, guest: 1158, host: 1158
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id,
"--name", "oradb",
"--memory", "2048",
"--natdnshostresolver1", "on"]
end
config.vm.provision :shell, :inline => "sudo rm /etc/localtime && sudo ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime"
config.vm.provision :shell, :inline => "sudo yum install puppet -y"
config.vbguest.auto_update = false
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "manifests"
puppet.module_path = "modules"
puppet.manifest_file = "base.pp"
puppet.options = "--verbose --trace"
end
end