Home

Awesome

riak-ruby-vagrant

Vagrant environment for testing riak-ruby-client with Riak 2. This is better and easier than working with the test-server support from older versions of riak-ruby-client.

This almost certainly works for testing other Riak clients, apps using Riak, and just playing around with. It's not designed for production use. Do not use this in production.

Getting Started

  1. If you haven't got it, install Vagrant.
  2. If you haven't got it or another Vagrant-supported virtualization package, install VirtualBox.
  3. Clone this repo: git clone https://github.com/basho-labs/riak-ruby-vagrant.git
  4. cd into this repo: cd riak-ruby-vagrant
  5. Run vagrant up to start the VM build process.
  6. Wait a while. The last line of the vagrant up output should be pong.
  7. Riak 2 is now running in a virtual machine, listening for protobuffs on localhost:17017 , and HTTP at http://localhost:17018/ .

Configuration Notes

The Riak instance has:

Enabling and Disabling Security

Enabling:

your-machine> vagrant ssh
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-virtual x86_64)

vagrant@precise64:~$ sudo riak-admin security enable
Enabled

Disabling:

your-machine> vagrant ssh
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-virtual x86_64)

vagrant@precise64:~$ sudo riak-admin security disable
Disabled

Support and Contributions

This tool is provided without support. Definitely do not ever use this in production, it's strictly a development tool.

If you'd like to contribute, fork and make a pull request.

Thanks!