Skip to content

Instantly share code, notes, and snippets.

@henrygarner
Created June 10, 2012 20:25
Show Gist options
  • Save henrygarner/2907213 to your computer and use it in GitHub Desktop.
Save henrygarner/2907213 to your computer and use it in GitHub Desktop.
Vagrantfile for creating a VM running lucid64 and Hadoop
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.box = "lucid64"
config.vm.box_url = "http://files.vagrantup.com/lucid64.box"
config.vm.provision :shell, :inline => "apt-get update"
# Otherwise java install will fail with missing dependencies
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "chef/cookbooks"
chef.add_recipe "hadoop"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment