Example:
rabbit@rabbit.example.com:
rabbitmq_cluster.join:
- user: rabbit
- host: rabbit.example.com
salt.states.rabbitmq_cluster.
join
(name, host, user='rabbit', ram_node=None, runas='root')¶This function is an alias of joined
.
salt.states.rabbitmq_cluster.
joined
(name, host, user='rabbit', ram_node=None, runas='root')¶Ensure the current node joined to a cluster with node user@host
Irrelevant, not used (recommended: user@host)
The user of node to join to (default: rabbit)
The host of node to join to
Join node as a RAM node
The user to run the rabbitmq command as