Skip to content

Commit

Permalink
Support short peer_discovery_backend values
Browse files Browse the repository at this point in the history
The list of backends that will be available when 3.7.0 ships
is shaping up.

Still to port: etcd and Kubernetes.
  • Loading branch information
michaelklishin committed Jun 6, 2017
1 parent b856258 commit 5f9752c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions priv/schema/rabbitmq.schema
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,19 @@ end}.
{datatype, atom}
]}.

{translation, "rabbit.cluster_formation.peer_discovery_backend",
fun(Conf) ->
case cuttlefish:conf_get("cluster_formation.peer_discovery_backend", Conf, rabbit_peer_discovery_classic_config) of
classic_config -> rabbit_peer_discovery_classic_config;
classic -> rabbit_peer_discovery_classic_config;
config -> rabbit_peer_discovery_classic_config;
dns -> rabbit_peer_discovery_dns;
aws -> rabbit_peer_discovery_aws;
consul -> rabbit_peer_discovery_consul;
Module -> Module
end
end}.

%% Own node type, used by cluster formation.
%%

Expand Down

0 comments on commit 5f9752c

Please sign in to comment.