Skip to content

Commit

Permalink
Added example Vagrantfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Fitzgerald committed Nov 18, 2012
1 parent c4d1c12 commit c52cf7e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Berksfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
site :opscode

metadata
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "http://rubygems.org"

gem 'berkshelf'
gem 'thor-foodcritic'
8 changes: 8 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,15 @@ Vagrant::Config.run do |config|
config.ssh.max_tries = 40
config.ssh.timeout = 120

config.vm.forward_port 25565, 25565

config.vm.provision :chef_solo do |chef|
chef.json = {
:minecraft => {
:xms => "256M",
:xmx => "256M"
}
}
chef.run_list = [
"recipe[minecraft]"
]
Expand Down

0 comments on commit c52cf7e

Please sign in to comment.