This repository has been archived by the owner on May 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Vagrantfile.example
70 lines (55 loc) · 1.79 KB
/
Vagrantfile.example
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# vi: set ft=ruby :
Vagrant.require_version ">= 1.6.1"
Vagrant.configure('2') do |config|
config.vm.box = 'vm'
# forward guest port to access your web application
#config.vm.network :forwarded_port, host: 8080, guest: 8080
config.ssh.forward_agent = true
config.ssh.private_key_path = 'packer/keys/vm'
# share a folder with your host via nfs
#config.vm.synced_folder "git", "/home/vagrant/dir_to_share", :nfs => true
config.vm.provision :chef_solo do |chef|
chef.version = '12.10.24'
chef.cookbooks_path = %w(cookbooks/default cookbooks/custom)
chef.custom_config_path = 'cookbooks/solo_config.rb'
chef.add_recipe('helper::setup')
# Dev Tools
#chef.add_recipe('linux_debug')
#chef.add_recipe('perf')
#chef.add_recipe('git')
#chef.add_recipe('zsh')
#chef.add_recipe('vcprompt')
#chef.add_recipe('vim')
#chef.add_recipe('tmux')
#chef.add_recipe('ack')
#chef.add_recipe('silver_searcher')
#chef.add_recipe('systemtap')
# Languages
#chef.add_recipe('java')
#chef.add_recipe('clojure')
#chef.add_recipe('node')
#chef.add_recipe('coffee_script') # requires node recipe
#chef.add_recipe('go')
#chef.add_recipe('ruby')
#chef.add_recipe('rust')
# Language Tools
#chef.add_recipe('chruby')
#chef.add_recipe('ruby_build')
#chef.add_recipe('intellij')
# Datastores
#chef.add_recipe('memcached')
#chef.add_recipe('mysql')
#chef.add_recipe('postgres')
#chef.add_recipe('riak')
#chef.add_recipe('sqlite')
# Deployment tools
#chef.add_recipe('terraform')
# Search Engines
#chef.add_recipe('elasticsearch')
# Messaging System
#chef.add_recipe('rabbitmq')
# Headless browsers
#chef.add_recipe('phantomjs')
chef.add_recipe('helper::cleanup')
end
end