Skip to content

Instantly share code, notes, and snippets.

@binarytemple
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save binarytemple/8ecf64a19e0c03fe21e3 to your computer and use it in GitHub Desktop.

Select an option

Save binarytemple/8ecf64a19e0c03fe21e3 to your computer and use it in GitHub Desktop.

Check out 'origin/riak-2.0-repos'.

[/basho/ansible-riak-common%]git checkout origin/riak-2.0-repos
Note: checking out 'origin/riak-2.0-repos'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at da14a12... Adds installation of Riak 2.x repositories and bumps the playbook version to 2.0.0

Change to ansible-riak examples directory

[/basho/ansible-riak/examples%]rm -rf roles/basho.riak-common
[/basho/ansible-riak/examples%]ln -s /basho/ansible-riak-common roles/basho.riak-common

Destroy existing VM's

[/basho/ansible-riak/examples%]vagrant destroy
    riak-03: Are you sure you want to destroy the 'riak-03' VM? [y/N] y
==> riak-03: Discarding saved state of VM...
==> riak-03: Destroying VM and associated drives...
==> riak-03: Running cleanup tasks for 'ansible' provisioner...
    riak-02: Are you sure you want to destroy the 'riak-02' VM? [y/N] y
==> riak-02: Discarding saved state of VM...
==> riak-02: Destroying VM and associated drives...
    riak-01: Are you sure you want to destroy the 'riak-01' VM? [y/N] y
==> riak-01: Discarding saved state of VM...
==> riak-01: Destroying VM and associated drives...

Create the VM's anew

vagrant up

Result - it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment