Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 799 Bytes
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Assign the box to start from:
config.vm.box = "precise32"
# Assign where to find the box if not already available locally:
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
# Tell Vagrant what commands to run to provision our box
config.vm.provision :shell, inline: "sudo apt-get -y update"
config.vm.provision :shell, inline: "sudo apt-get -y install openjdk-7-jdk"
config.vm.provision :shell, inline: "wget http://d3kbcqa49mib13.cloudfront.net/spark-1.1.0-bin-hadoop1.tgz"
config.vm.provision :shell, inline: "tar -zxf spark-1.1.0-bin-hadoop1.tgz"
end