diff options
| author | Gerhard Lazu <gerhard@users.noreply.github.com> | 2019-08-12 17:59:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-12 17:59:23 +0100 |
| commit | 2845f4eeedbbf17394e29e9eef9f6b52481cf79a (patch) | |
| tree | f81879271ca73462dcba9c01a5e5fefc96a16647 /src/rabbit.erl | |
| parent | f47a339b8e528eaaa8b84e5be146a92ee687b99f (diff) | |
| parent | 107bd08a1222d47bcf81891d832cb1fd039cb25b (diff) | |
| download | rabbitmq-server-git-2845f4eeedbbf17394e29e9eef9f6b52481cf79a.tar.gz | |
Merge pull request #2075 from rabbitmq/configure-cluster-name
Make it possible to pre-configure cluster name via config
Diffstat (limited to 'src/rabbit.erl')
| -rw-r--r-- | src/rabbit.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index fdf2138515..3dd963b813 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -226,6 +226,12 @@ [{description, "ready to communicate with peers and clients"}, {requires, [core_initialized, recovery, routing_ready]}]}). +-rabbit_boot_step({cluster_name, + [{description, "sets cluster name if configured"}, + {mfa, {rabbit_nodes, boot, []}}, + {requires, pre_flight} + ]}). + -rabbit_boot_step({direct_client, [{description, "direct client"}, {mfa, {rabbit_direct, boot, []}}, |
