diff --git a/cluster/services/consul/agent.nix b/cluster/services/consul/agent.nix index e45ea47..b6aa045 100644 --- a/cluster/services/consul/agent.nix +++ b/cluster/services/consul/agent.nix @@ -23,6 +23,7 @@ in bind_addr = hl.ipv4; ports.serf_lan = hl.port; retry_join = map (hostName: hostLinks.${hostName}.consul.tuple) (cfg.otherNodes.agent hostName); + bootstrap_expect = builtins.length cfg.nodes.agent; }; };