Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Riak module docs and bugfixes. #2843

Merged
merged 1 commit into from
May 5, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions library/database/riak
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ options:
type: 'bool'
wait_for_ring:
description:
- Waits for all nodes to agreee on the status of the ring
- Waits for all nodes to agree on the status of the ring
required: false
default: null
aliases: []
Expand Down Expand Up @@ -107,6 +107,7 @@ def ring_check():

def status_to_json():
# remove all unnecessary symbols and whitespace
stats = ''
rc, out, err = module.run_command("riak-admin status 2> /dev/null")
if rc == 0:
raw_stats = out
Expand Down Expand Up @@ -248,7 +249,7 @@ def main():
rc, out, err = module.run_command('riak-admin cluster commit %s' % target_node)
if rc == 0:
result['commit'] = out
changed = True
result['changed'] = True
else:
module.fail_json(msg=out)

Expand Down