forked from dimitri/pgloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
57 lines (43 loc) · 1.51 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure("2") do |config|
config.vm.define "wheezy" do |wheezy|
wheezy.vm.box = "wheezy64"
config.vm.provision :file do |file|
file.source = 'conf/gpg-agent.conf'
file.destination = '/home/vagrant/.gnupg/gpg-agent.conf'
end
config.vm.provision :file do |file|
file.source = 'conf/gpg.conf'
file.destination = '/home/vagrant/.gnupg/gpg.conf'
end
config.vm.provision :file do |file|
file.source = 'conf/devscripts'
file.destination = '/home/vagrant/.devscripts'
end
config.vm.provision "shell" do |s|
s.path = "bootstrap-debian.sh"
s.privileged = false
end
config.vm.network :forwarded_port, guest: 4505, host: 4505
end
config.vm.define "centos" do |centos|
centos.vm.box = "CentOS64"
config.vm.provision "shell" do |s|
s.path = "bootstrap-centos.sh"
s.privileged = false
end
end
config.vm.define "w7" do |centos|
centos.vm.box = "w7"
config.vm.communicator = "winrm"
config.vm.network :forwarded_port, guest: 5985, host: 5985,
id: "winrm", auto_correct: true
config.vm.network :forwarded_port, guest: 3389, host: 3389,
id: "rdp", auto_correct: true
config.vm.network :forwarded_port, guest: 1433, host: 1433,
id: "mssql", auto_correct: true
end
end