-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
29 lines (25 loc) · 1.16 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# This Vagrantfile bootstraps two 64-bit CentOS 6 guests for hub and agent use
# Put together by Nick Silkey <[email protected]>
#
Vagrant::Config.run do |config|
# setup the box which will run cfhub
# simulates a policyserver/fileserver
config.vm.define :cfhub do |cfhub_config|
cfhub_config.vm.box = "CentOS-6.2-x86_64-minimal"
cfhub_config.vm.box_url = "http://dl.dropbox.com/u/5585354/CentOS-6.2-x86_64-minimal.box"
cfhub_config.vm.network :hostonly, "33.33.33.33"
# cfhub_config.vm.share_folder "masterfiles","/var/cfengine/masterfiles","./masterfiles/"
# cfhub_config.vm.provision :shell, :path => "cfengine3.sh"
end
# setup the box which will run cfagent
# simulates a client
config.vm.define :cfagent do |cfagent_config|
cfagent_config.vm.box = "CentOS-6.2-x86_64-minimal"
cfagent_config.vm.box_url = "http://dl.dropbox.com/u/5585354/CentOS-6.2-x86_64-minimal.box"
cfagent_config.vm.network :hostonly, "33.33.33.44"
# cfagent_config.vm.share_folder "masterfiles","/var/cfengine/masterfiles","./masterfiles/"
# cfagent_config.vm.provision :shell, :path => "cfengine3.sh"
end
end