Skip to content

Instantly share code, notes, and snippets.

View ps-taylor's full-sized avatar

Paul Taylor ps-taylor

  • DocFox
  • South Africa
View GitHub Profile
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# Vagrantfile with chef for the latest recipe (riak 1.2).
# =======================================================
#
# see: http://basho.com/blog/technical/2011/02/04/creating-a-local-riak-cluster-with-vagrant-and-chef/
# use c3d59bca22bb8b619eb914518d5a868c37f876df. https://github.com/basho/riak-chef-cookbook
#
# Setup latest riak cookbook
# Offering alternative Chef + Vagrant Riak cluster setup to the following blog post at basho:
# http://blog.basho.com/2011/02/04/creating-a-local-riak-cluster-with-vagrant-and-chef/
# Assumes Vagrant 0.7.0+ and VirtualBox 4.0+
# Now you should be able to launch your X (where X=4 in this case) vagrant VMs with the following:
# % vagrant up db1
# % vagrant up db2
# % vagrant up db3
# % vagrant up db4

Ubuntu 12.10 setup (rbenv/RVM, Janus, PostgreSQL)

Basic pre-requisites

  • Some utilities:
sudo apt-get install vim tmux git curl
  • Copy/paste from the command line: