Compare commits

...

2 commits

Author SHA1 Message Date
Max
06043e438e fixup! cluster/services/consul: test in simulacrum 2024-08-13 22:07:28 +02:00
Max
fc8df77023 modules/system-info: drop 2024-08-13 22:05:23 +02:00
3 changed files with 3 additions and 9 deletions

View file

@ -5,9 +5,10 @@
start_all()
with subtest("should form cluster"):
for machine in machines:
nodes = [ n for n in machines if n != nowhere ]
for machine in nodes:
machine.succeed("systemctl start consul-ready.service")
for machine in machines:
for machine in nodes:
consulConfig = json.loads(machine.succeed("cat /etc/consul.json"))
addr = consulConfig["addresses"]["http"]
port = consulConfig["ports"]["http"]

View file

@ -29,7 +29,6 @@ in
reflection = ./reflection;
shell-config = ./shell-config;
ssh = ./ssh;
system-info = ./system-info;
system-recovery = ./system-recovery;
systemd-extras = ./systemd-extras;
tested = ./tested;
@ -56,7 +55,6 @@ in
motd
networking
nix-config-server
system-info
system-recovery
tested
];

View file

@ -1,5 +0,0 @@
{ depot, ... }:
{
system.configurationRevision = depot.rev or null;
}