forked from paykin/vagrant-oracle-11g
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
38 lines (28 loc) · 1.15 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
36
37
38
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# config.vm.box = "oracleLinux64"
# config.vm.box_url = "https://dl.dropbox.com/s/zmitpteca72sjpx/oracle64.box"
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/Europe/Moscow /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