forked from plainprogrammer/puppet-denyhosts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
37 lines (34 loc) · 1005 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
target_systems = {
:ubuntu_1004_32 => {
:box => 'lucid32',
:box_url => 'http://files.vagrantup.com/lucid32.box'
},
:ubuntu_1004_64 => {
:box => 'lucid64',
:box_url => 'http://files.vagrantup.com/lucid64.box'
},
:ubuntu_1204_64 => {
:box => 'precise64',
:box_url => 'http://files.vagrantup.com/precise64.box'
},
:ubuntu_1204_32 => {
:box => 'precise32',
:box_url => 'http://files.vagrantup.com/precise32.box'
}
}
Vagrant::Config.run do |config|
target_systems.each do |name, info|
config.vm.define name do |local|
local.vm.box = info[:box]
local.vm.box_url = info[:box_url]
local.vm.provision :puppet do |puppet|
puppet.manifests_path = 'spec/fixtures/manifests'
puppet.module_path = '..'
puppet.manifest_file = 'vagrant.pp'
puppet.options = %w{--verbose}
end
end
end
end