Skip to content

Instantly share code, notes, and snippets.

@canausa
Created July 2, 2013 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save canausa/5912881 to your computer and use it in GitHub Desktop.
Save canausa/5912881 to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.vm.box = "precise32"
config.vm.provider :virtualbox do |vb|
vb.gui = true
end
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "./cookbooks"
chef.add_recipe "java"
chef.add_recipe "maven"
chef.add_recipe "git"
chef.json = {
java:{
install_flavor:'oracle',
oracle:{accept_oracle_download_terms:true}
}
}
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment