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 | 6b1b215effd669ccc0725c21c234a1a343c41e57 (patch) | |
tree | 0d4fee4c63e087a680d872dc710b2a73453d42eb /tv/2configs | |
parent | 5f8443345130302259c959e26635dfa86c845740 (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 0a8bf4d..0000000 --- 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 d10f9ea..0000000 --- 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 - ]; - }; -} |