Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
d5c7290b
Commit
d5c7290b
authored
Feb 19, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6066 from jsmartin/riak_module_fix
Properly fetching the riak version
parents
58814d08
0e3356c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
library/database/riak
+4
-3
No files found.
library/database/riak
View file @
d5c7290b
#!/usr/bin/python
#!/usr/bin/
env
python
# -*- coding: utf-8 -*-
# (c) 2013, James Martin <jmartin@basho.com>, Drew Kerrigan <dkerrigan@basho.com>
...
...
@@ -164,8 +164,9 @@ def main():
node_name
=
stats
[
'nodename'
]
nodes
=
stats
[
'ring_members'
]
ring_size
=
stats
[
'ring_creation_size'
]
version
=
stats
[
'riak_core_version'
]
rc
,
out
,
err
=
module
.
run_command
([
riak_bin
,
'version'
]
)
version
=
out
.
strip
()
result
=
dict
(
node_name
=
node_name
,
nodes
=
nodes
,
ring_size
=
ring_size
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment