Skip to content

Commit

Permalink
add a Vagrant elasticsearch instance to make things easier to develop…
Browse files Browse the repository at this point in the history
… with.
  • Loading branch information
Matthew Baird authored and Matthew Baird committed Feb 21, 2013
1 parent c383ab3 commit 9d157c3
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[submodule "java"]
path = java
url = https://github.com/cookbooks/java.git
[submodule "cookbooks/java"]
path = cookbooks/java
url = https://github.com/cookbooks/java.git
[submodule "cookbooks/apt"]
path = cookbooks/apt
url = https://github.com/opscode-cookbooks/apt.git
[submodule "cookbooks/elasticsearch"]
path = cookbooks/elasticsearch
url = https://github.com/mattbaird/elasticsearch-chef.git
1 change: 1 addition & 0 deletions .vagrant
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"active":{"default":"c8e5c9a3-3bab-4390-ba96-0858bf55486d"}}
13 changes: 13 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Vagrant::Config.run do |config|
config.vm.box = "lucid64"
config.vm.box_url = "http://files.vagrantup.com/lucid64.box"
config.vm.forward_port 80, 8080
config.vm.forward_port 9300, 9300

config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.add_recipe("apt")
chef.add_recipe("java")
chef.add_recipe("elasticsearch")
end
end
1 change: 1 addition & 0 deletions cookbooks/apt
Submodule apt added at fbeb0d
1 change: 1 addition & 0 deletions cookbooks/elasticsearch
Submodule elasticsearch added at 2f28fa
1 change: 1 addition & 0 deletions cookbooks/java
Submodule java added at 05e451

0 comments on commit 9d157c3

Please sign in to comment.