-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
37 lines (24 loc) · 872 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
33
34
35
36
37
# -*- mode: ruby -*-
Vagrant.configure("2") do |config|
config.vm.box = "bento/centos-7.2"
config.vm.box_version = "2.2.7"
config.vm.box_check_update = false
#Kibana
config.vm.network :forwarded_port, guest: 5601, host: 5601
#ElasticSearch
config.vm.network :forwarded_port, guest: 9200, host: 9200
#Grafana
config.vm.network :forwarded_port, guest: 3000, host: 3000
#Redis
config.vm.network :forwarded_port, guest: 6379, host: 6379
#Infludb/CollectD
config.vm.network :forwarded_port, guest: 25826, host: 25826, protocol: "udp"
config.vm.synced_folder "cookbooks/elk-hardis/files/default/rpms", "/chef/elk-hardis/rpms"
config.vm.provider "virtualbox" do |vb|
# Customize the amount of memory on the VM:
vb.memory = "512"
end
config.vm.provision "chef_solo" do |chef|
chef.add_recipe "elk-hardis"
end
end