-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathVagrantfile
32 lines (27 loc) · 970 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
# Vagrantfile for splunk_graphite.
#
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# Author:: Greg Albrecht <[email protected]>
# Copyright:: Copyright 2016 Orion Labs, Inc.
# License:: Apache License, Version 2.0
# Source:: https://github.com/OnBeep/splunk_graphite
#
Vagrant.configure('2') do |config|
config.berkshelf.enabled = true
config.omnibus.chef_version = :latest
config.vm.box = 'opscode_ubuntu-12.04_chef-provisionerless'
config.vm.box_url = 'http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box'
config.vm.host_name = 'app-vm'
config.vm.network('forwarded_port', guest: 8000, host: 4180)
config.vm.network('forwarded_port', guest: 8089, host: 4189)
config.vm.provision(:chef_solo) do |chef|
chef.add_recipe('chef-splunk')
chef.json = {
'dev_mode' => true,
'splunk' => {'accept_license' => true, 'is_server' => true}
}
chef.data_bags_path = 'data_bags'
end
end