%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python2.7/site-packages/salt/states/
Upload File :
Create Path :
Current File : //lib/python2.7/site-packages/salt/states/rabbitmq_cluster.pyo

�
���^c@@s�dZddlmZmZmZddlZddlZddlZej	e
�Zd�Zdddd�Zejjjed�ZdS(	u�
Manage RabbitMQ Clusters
========================

Example:

.. code-block:: yaml

    rabbit@rabbit.example.com:
      rabbitmq_cluster.join:
        - user: rabbit
        - host: rabbit.example.com
i(tabsolute_importtunicode_literalstprint_functionNcC@stjjjd�dk	S(u-
    Only load if RabbitMQ is installed.
    urabbitmqctlN(tsalttutilstpathtwhichtNone(((s@/usr/lib/python2.7/site-packages/salt/states/rabbitmq_cluster.pyt__virtual__surabbiturootcC@si|d6td6dd6id6}td�}dj||�|krUd|d<|Std	s�td
|||d|�}d|kr�t|d<|d|d<|Sd
|kr�|d
|d<q�nidd6dj||�d6|d<td	rd|d<dj||�|d<n|S(u\
    Ensure the current node joined to a cluster with node user@host

    name
        Irrelevant, not used (recommended: user@host)
    user
        The user of node to join to (default: rabbit)
    host
        The host of node to join to
    ram_node
        Join node as a RAM node
    runas
        The user to run the rabbitmq command as
    unameuresultuucommentuchangesurabbitmq.cluster_statusu{0}@{1}uAlready in clusterutesturabbitmq.join_clustertrunasuErroruJoinuoldunewu#Node is set to join cluster {0}@{1}N(tTruet__salt__tformatt__opts__tFalseR(tnamethosttusertram_nodeR	trettstatustresult((s@/usr/lib/python2.7/site-packages/salt/states/rabbitmq_cluster.pytjoined"s,"



	
$

ujoin(t__doc__t
__future__RRRtloggingtsalt.utils.functoolsRtsalt.utils.patht	getLoggert__name__tlogRRRRt	functoolstalias_functiontjoin(((s@/usr/lib/python2.7/site-packages/salt/states/rabbitmq_cluster.pyt<module>s	/

Zerion Mini Shell 1.0