-
Notifications
You must be signed in to change notification settings - Fork 4
/
Vagrantfile
40 lines (34 loc) · 1.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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.hostname = 'puppet-omsa'
# config.vm.synced_folder "modules", "/tmp/puppet-modules", type: "rsync", rsync__exclude: ".git/"
config.vm.synced_folder "modules", "/tmp/puppet-modules", create: true
config.vm.synced_folder ".", "/tmp/puppet-modules/omsa" , create: true
config.vm.define "centos" do |centos|
centos.vm.box = 'vStone/centos-7.x-puppet.3.x'
centos.vm.provision :puppet do |puppet|
puppet.manifests_path = "examples"
puppet.manifest_file = "redhat.pp"
puppet.options = ["--modulepath", "/tmp/puppet-modules"]
end
end
config.vm.define "ubuntu", primary: true do |ubuntu|
ubuntu.vm.box = 'wandisco/ubuntu-16.04-64'
ubuntu.vm.provision :shell, :inline => 'apt update'
ubuntu.vm.provision :puppet do |puppet|
puppet.manifests_path = "examples"
puppet.manifest_file = "debian.pp"
puppet.options = ["--modulepath", "/tmp/puppet-modules"]
end
end
config.vm.define "debian", primary: true do |debian|
debian.vm.box = 'dhoppe/debian-8.8.0-amd64'
debian.vm.provision :shell, :inline => 'apt update'
debian.vm.provision :puppet do |puppet|
puppet.manifests_path = "examples"
puppet.manifest_file = "debian.pp"
puppet.options = ["--modulepath", "/tmp/puppet-modules"]
end
end
end