diff options
author | tv <tv@krebsco.de> | 2016-02-02 19:51:01 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-02 19:59:04 +0100 |
commit | 28382e43e0df74a6b10bfcf23465d8415fa86460 (patch) | |
tree | 305bb60c187e50219672736571edac964f1af9a4 /tv/2configs | |
parent | 03e5d03c129190451e1431fac6aae70f745812f9 (diff) |
tv: RIP consul
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/consul-client.nix | 9 | ||||
-rw-r--r-- | tv/2configs/consul-server.nix | 21 |
2 files changed, 0 insertions, 30 deletions
diff --git a/tv/2configs/consul-client.nix b/tv/2configs/consul-client.nix deleted file mode 100644 index 0a8bf4d75..000000000 --- a/tv/2configs/consul-client.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, ... }: - -{ - imports = [ ./consul-server.nix ]; - - tv.consul = { - server = pkgs.lib.mkForce false; - }; -} diff --git a/tv/2configs/consul-server.nix b/tv/2configs/consul-server.nix deleted file mode 100644 index d10f9ea75..000000000 --- a/tv/2configs/consul-server.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ config, ... }: - -{ - tv.consul = rec { - enable = true; - - self = config.krebs.build.host; - inherit (self) dc; - - server = true; - - hosts = with config.krebs.hosts; [ - # TODO get this list automatically from each host where tv.consul.enable is true - cd - mkdir - nomic - rmdir - #wu - ]; - }; -} |