Skip to content

Instantly share code, notes, and snippets.

Avatar

Freddy sudhakarau1

View GitHub Profile
@roblayton
roblayton / Vagrantfile
Created Jun 27, 2015
A Vagrant multi-machine cluster using a loop
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
cluster = {
"master" => { :ip => "192.168.33.10", :cpus => 1, :mem => 1024 },
"slave" => { :ip => "192.168.33.11", :cpus => 1, :mem => 1024 }
}