-
Notifications
You must be signed in to change notification settings - Fork 5
/
Vagrantfile
28 lines (24 loc) · 868 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
# -*- 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.box = "trusty"
config.vm.box_url = "https://oss-binaries.phusionpassenger.com/vagrant/boxes/latest/ubuntu-14.04-amd64-vbox.box"
config.vm.network "private_network", ip: "192.168.33.10"
# config.vm.network "public_network"
config.ssh.forward_agent = true
# config.vm.synced_folder "../data", "/vagrant_data"
config.vm.provision "cfengine" do |cf|
cf.am_policy_hub = true
cf.files_path = "policies"
# cf.run_file = "motd.cf"
end
#
# You can also configure and bootstrap a client to an existing
# policy server:
#
# config.vm.provision "cfengine" do |cf|
# cf.policy_server_address = "10.0.2.15"
# end
end