Created
June 10, 2012 20:25
-
-
Save henrygarner/2907213 to your computer and use it in GitHub Desktop.
Vagrantfile for creating a VM running lucid64 and Hadoop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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