Readd Cluster Plan

This commit is contained in:
David Boucha 2013-07-15 13:27:38 -06:00
parent b81529c69b
commit 0b740177a8

View File

@ -55,10 +55,21 @@ def cluster_join(riak_user=None, riak_host=None):
return __salt__['cmd.retcode']('riak-admin cluster join {0}@{1}'.format(riak_user, riak_host))
def cluster_plan():
'''
Review Cluster Plan
CLI Example::
salt '*' riak.cluster_plan
'''
return __salt__['cmd.run']('riak-admin cluster plan')
def cluster_commit():
'''
Commit Cluster Plan
Commit Cluster Changes
CLI Example::