def cluster_status(runas=None):
 if ((runas is None) and (not salt.utils.is_windows())):
  runas = salt.utils.get_user()
 res = __salt__['cmd.run_all']([__context__['rabbitmqctl'], 'cluster_status'], runas=runas, python_shell=False)
 _check_response(res)
 return res['stdout']

def cluster_status ( runas = None ) : if ( ( runas is None ) and ( not salt . utils . is_windows ( ) ) ) : runas = salt . utils . get_user ( ) res = __salt__ [ 'cmd.run_all' ] ( [ __context__ [ 'rabbitmqctl' ] , 'cluster_status' ] , runas = runas , python_shell = False ) _check_response ( res ) return res [ 'stdout' ]
return rabbitmq cluster_status cli example: .