-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
44 lines (37 loc) · 1.12 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- mode: ruby -*-
# vi: set ft=ruby :
log_level = :info
chef_run_list = %w[
runit
kibana
kibana_auth
]
chef_json = {
'nginx' => {
'default_site_enabled' => false
}
}
Vagrant.configure('2') do |config|
# Common Settings
#config.omnibus.chef_version = 'latest'
config.vm.hostname = 'chef-kibana-auth'
config.vm.network :private_network, ip: '192.168.200.50'
config.vm.provider :virtualbox do |vb|
vb.customize ['modifyvm', :id, '--memory', '1024']
end
config.vm.provider :lxc do |lxc|
lxc.customize 'cgroup.memory.limit_in_bytes', '1024M'
end
config.vm.define :lucid64 do |dist_config|
dist_config.vm.box = 'lucid64-rvm-chef11'
# dist_config.vm.box = 'opscode-ubuntu-10.04'
# dist_config.vm.box_url = 'https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_provisionerless.box'
dist_config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = ['/tmp/logstash-cookbooks']
chef.provisioning_path = '/etc/vagrant-chef'
chef.log_level = log_level
chef.run_list = chef_run_list
chef.json = chef_json
end
end
end