Sha256: f7295160a210bcda286dc6f662dc8e37c786bc47cdb99c982b17597238231252
Contents?: true
Size: 1.83 KB
Versions: 1
Compression:
Stored size: 1.83 KB
Contents
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| # All Vagrant configuration is done here. The most common configuration # options are documented and commented below. For a complete reference, # please see the online documentation at vagrantup.com. # Fix DNS issues with Ubuntu 12.04 by always using host's resolver config.vm.provider "virtualbox" do |vbox| vbox.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end # Elasticrawl launches Hadoop jobs for the CommonCrawl dataset using the AWS EMR service. config.vm.define :elasticrawl do |elasticrawl| elasticrawl.vm.box = "elasticrawl" # Ubuntu Server 12.04 LTS elasticrawl.vm.box_url = "http://files.vagrantup.com/precise64.box" # Network config elasticrawl.vm.network :public_network # Synced folder for creating deploy packages elasticrawl.vm.synced_folder "../traveling-elasticrawl/", "/traveling-elasticrawl/" # Provision using Chef Solo elasticrawl.vm.provision "chef_solo" do |chef| chef.cookbooks_path = "cookbooks" chef.add_recipe "apt" chef.add_recipe "build-essential" chef.add_recipe "ruby_build" chef.add_recipe "rbenv::user" chef.add_recipe "git" chef.add_recipe "vim" chef.json = { "rbenv" => { "user_installs" => [ { "user" => "vagrant", "rubies" => ["2.0.0-p643", "2.1.5", "2.2.0"], "global" => "2.1.5", "gems" => { "2.0.0-p643" => [ { "name" => "bundler" } ], "2.1.5" => [ { "name" => "bundler" } ], "2.2.0" => [ { "name" => "bundler" } ] } } ] } } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
elasticrawl-1.1.4 | Vagrantfile |