mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Readd Cluster Plan
This commit is contained in:
parent
b81529c69b
commit
0b740177a8
@ -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::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user