范例:
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