-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathVagrantfile
69 lines (58 loc) · 2.39 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
# -*- 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(VAGRANTFILE_API_VERSION) do |config|
config.vm.hostname = 'puppet-telegraf'
config.vm.box_download_insecure = true
config.vm.synced_folder "modules", "/tmp/puppet-modules", type: "rsync", rsync__exclude: ".git/"
config.vm.synced_folder ".", "/tmp/puppet-modules/telegraf", type: "rsync", rsync__exclude: ".git/"
config.vm.define "xenial", primary: true do |xenial|
xenial.vm.box = "puppetlabs/ubuntu-16.04-64-puppet"
xenial.vm.provision :puppet do |puppet|
puppet.manifests_path = "tests"
puppet.manifest_file = "vagrant.pp"
puppet.options = ["--modulepath", "/tmp/puppet-modules"]
end
end
config.vm.define "trusty", primary: true do |trusty|
trusty.vm.box = "puppetlabs/ubuntu-14.04-64-puppet"
trusty.vm.provision :puppet do |puppet|
puppet.manifests_path = "tests"
puppet.manifest_file = "vagrant.pp"
puppet.options = ["--modulepath", "/tmp/puppet-modules"]
end
end
config.vm.define "wheezy", autostart: false do |wheezy|
debian.vm.box = "puppetlabs/debian-7.8-64-puppet"
debian.vm.provision :puppet do |puppet|
puppet.manifests_path = "tests"
puppet.manifest_file = "vagrant.pp"
puppet.options = ["--modulepath", "/tmp/puppet-modules"]
end
end
config.vm.define "jessie", autostart: false do |jessie|
debian.vm.box = "puppetlabs/debian-8.2-64-puppet"
debian.vm.provision :puppet do |puppet|
puppet.manifests_path = "tests"
puppet.manifest_file = "vagrant.pp"
puppet.options = ["--modulepath", "/tmp/puppet-modules"]
end
end
config.vm.define "centos6", autostart: false do |centos6|
centos6.vm.box = "puppetlabs/centos-6.6-64-puppet"
centos6.vm.provision :puppet do |puppet|
puppet.manifests_path = "tests"
puppet.manifest_file = "vagrant.pp"
puppet.options = ["--modulepath", "/tmp/puppet-modules"]
end
end
config.vm.define "centos7", autostart: false do |centos7|
centos7.vm.box = "puppetlabs/centos-7.2-64-puppet"
centos7.vm.provision :puppet do |puppet|
puppet.manifests_path = "tests"
puppet.manifest_file = "vagrant.pp"
puppet.options = ["--modulepath", "/tmp/puppet-modules"]
end
end
end