Updated readme, updated Vagrantfile to default to CentOS.

pull/63/head
James Martin 11 years ago
parent 221ac27290
commit d165ac0dfe
  1. 18
      riak/README.md
  2. 4
      riak/Vagrantfile

@ -42,3 +42,21 @@ Here are the playbooks that you can use with the ansible-playbook commands:
configuration change. Similar principals could apply to performing
rolling upgrades of Riak itself.
#### Using Vagrant
Install vagrant!
First choose an OS in your Vagrantfile.
run:
vagrant up
launch the playbook, when prompted for password, enter "vagrant"
ansible-playbook -v -u vagrant site.yml -i hosts -k
ssh to your nodes
vagrant ssh riak-1.local

4
riak/Vagrantfile vendored

@ -6,9 +6,9 @@ require 'fileutils'
Vagrant::Config.run do |config|
# choices for virtual machines:
config.vm.box = 'ubuntu-1204'
#config.vm.box = 'ubuntu-1204'
#config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
#config.vm.box = 'centos-6.4'
config.vm.box = 'centos-6.4'
#config.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box'
# specify all Riak VMs: