Skip to content

Commit

Permalink
Group printing
Browse files Browse the repository at this point in the history
  • Loading branch information
macintux committed Feb 12, 2014
1 parent 38b7f92 commit fa579be
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rel/files/riak-admin
Expand Up @@ -216,6 +216,9 @@ security_admin()
print-users)
$NODETOOL rpc riak_core_console print_users
;;
print-groups)
$NODETOOL rpc riak_core_console print_groups
;;
print-sources)
$NODETOOL rpc riak_core_console print_sources
;;
Expand All @@ -236,6 +239,14 @@ security_admin()
fi
$NODETOOL rpc riak_core_console print_user "$@"
;;
print-group)
shift
if [ $# -lt 1 ]; then
echo "Usage: $SCRIPT security print-group <group>"
exit 1
fi
$NODETOOL rpc riak_core_console print_group "$@"
;;
ciphers)
shift
$NODETOOL rpc riak_core_console ciphers "$@"
Expand Down

0 comments on commit fa579be

Please sign in to comment.