def quorum(name, **kwargs):
 paramters = _ordereddict2dict(kwargs)
 if (paramters is None):
  return _error(name, 'Invalid paramters:%s')
 if __opts__['test']:
  return _test(name, 'cluster quorum')
 try:
  cluster_quorum = __salt__['ceph.cluster_quorum'](**paramters)
 except (CommandExecutionError, CommandNotFoundError) as err:
  return _error(name, err.strerror)
 if cluster_quorum:
  return _unchanged(name, 'cluster is quorum')
 return _error(name, 'cluster is not quorum')

def quorum ( name , ** kwargs ) : paramters = _ordereddict2dict ( kwargs ) if ( paramters is None ) : return _error ( name , 'Invalid paramters:%s' ) if __opts__ [ 'test' ] : return _test ( name , 'cluster quorum' ) try : cluster_quorum = __salt__ [ 'ceph.cluster_quorum' ] ( ** paramters ) except ( CommandExecutionError , CommandNotFoundError ) as err : return _error ( name , err . strerror ) if cluster_quorum : return _unchanged ( name , 'cluster is quorum' ) return _error ( name , 'cluster is not quorum' )
quorum state this state checks the mon daemons are in quorum .