forked from petems/puppet-install-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
120 lines (99 loc) · 4.02 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# -*- mode: ruby -*-
# vi: set ft=ruby :
if Vagrant::VERSION < '1.5.0'
fail 'This Vagrantfile uses Vagrantcloud, upgrade to > 1.5.0!'
end
Vagrant.configure("2") do |config|
# Want to make sure cachier doesn't give false positives
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.auto_detect = false
end
# Test for facter issue from https://github.com/petems/vagrant-puppet-install/issues/6
config.vm.define "GH6" do |gh6|
gh6.vm.box = "bento/ubuntu-12.04-i386"
gh6.vm.provision "shell", path: "install_puppet.sh", args: "-v 2.7.23 -fv 1.7.6"
gh6.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "GH6_centos" do |gh6_centos|
gh6_centos.vm.box = "bento/centos-6.5"
gh6_centos.vm.provision "shell", path: "install_puppet.sh", args: "-v 2.7.23 -fv 1.7.6"
gh6_centos.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "centos67" do |centos67|
centos65.vm.box = "bento/centos-6.7"
centos65.vm.provision "shell", path: "install_puppet.sh"
centos65.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "centos7" do |centos7|
centos7.vm.box = "bento/centos-7.1"
end
config.vm.define "precise64" do |precise64|
precise64.vm.box = "bento/ubuntu-12.04"
precise64.vm.provision "shell", path: "install_puppet.sh"
precise64.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "quantal64" do |quantal64|
quantal64.vm.box = "bento/ubuntu-12.10"
quantal64.vm.provision "shell", path: "install_puppet.sh"
quantal64.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "raring64" do |raring64|
raring64.vm.box = "bento/ubuntu-13.04"
raring64.vm.provision "shell", path: "install_puppet.sh"
raring64.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "saucy64" do |saucy64|
saucy64.vm.box = "bento/ubuntu-13.10"
saucy64.vm.provision "shell", path: "install_puppet.sh"
saucy64.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "trusty64" do |trusty64|
trusty64.vm.box = "bento/ubuntu-14.04"
trusty64.vm.provision "shell", path: "install_puppet.sh"
trusty64.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "squeeze" do |squeeze|
squeeze.vm.box = "bento/debian-6.0.8"
squeeze.vm.provision "shell", path: "install_puppet.sh"
squeeze.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "wheezy" do |wheezy|
wheezy.vm.box = "bento/debian-7.4"
wheezy.vm.provision "shell", path: "install_puppet.sh"
wheezy.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "fedora19" do |fedora19|
fedora19.vm.box = "bento/fedora-19"
fedora19.vm.provision "shell", path: "install_puppet.sh"
fedora19.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "fedora20" do |fedora20|
fedora20.vm.box = "bento/fedora-20"
fedora20.vm.provision "shell", path: "install_puppet.sh"
fedora20.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "fedora21" do |fedora20|
fedora20.vm.box = "bento/fedora-21"
fedora20.vm.provision "shell", path: "install_puppet.sh"
fedora20.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "arch" do |arch|
arch.vm.box = "losingkeys/arch"
arch.vm.provision "shell", path: "install_puppet.sh"
arch.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "freebsd9" do |freebsd9|
freebsd9.ssh.shell = 'sh'
freebsd9.vm.guest = :freebsd
freebsd9.vm.box = "bento/freebsd-9.2"
freebsd9.vm.provision "shell", path: "install_puppet.sh"
freebsd9.vm.provision "shell", inline: "puppet --version"
end
config.vm.define "freebsd10" do |freebsd10|
freebsd10.ssh.shell = 'sh'
freebsd10.vm.guest = :freebsd
freebsd10.vm.box = "bento/freebsd-10.0"
freebsd10.vm.provision "shell", path: "install_puppet.sh"
freebsd10.vm.provision "shell", inline: "puppet --version"
end
end