forked from jdowning/puppet-influxdb
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathVagrantfile
More file actions
60 lines (50 loc) · 2.09 KB
/
Vagrantfile
File metadata and controls
60 lines (50 loc) · 2.09 KB
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
# -*- 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-influxdb'
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/influxdb", type: "rsync", rsync__exclude: ".git/"
config.vm.define "ubuntu", primary: true do |ubuntu|
ubuntu.vm.box = "puppetlabs/ubuntu-14.04-64-puppet"
ubuntu.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 "debian6", autostart: false do |debian6|
debian6.vm.box = "puppetlabs/debian-6.0.10-64-puppet"
debian6.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 "debian", autostart: false do |debian|
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 "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.0-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