-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
25 lines (22 loc) · 768 Bytes
/
Vagrantfile
File metadata and controls
25 lines (22 loc) · 768 Bytes
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
Vagrant.configure("2") do |config|
config.vm.box = "bento/centos-7.3"
config.vm.provision "shell", path: "install-puppet.sh"
config.vm.define "puppet-server" do |c|
c.vm.hostname = 'puppet-server'
c.vm.network "private_network", ip: "172.28.128.10"
c.vm.provision "puppet" do |puppet|
puppet.manifest_file = 'server.pp'
puppet.module_path = 'modules'
puppet.options = "--verbose --debug"
end
end
config.vm.define "puppet-agent001" do |c|
c.vm.hostname = "puppet-agent001"
c.vm.network "private_network", type: "dhcp"
c.vm.provision "puppet" do |puppet|
puppet.manifest_file = 'agent.pp'
puppet.module_path = 'modules'
puppet.options = "--verbose --debug"
end
end
end