checks/ascensions: use consul-ready
This commit is contained in:
parent
4957c6f07f
commit
c3073e347b
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ testers, nixosModules, consul }:
|
||||
{ testers, nixosModules, consul, cluster }:
|
||||
|
||||
let
|
||||
dataDir = {
|
||||
|
@ -28,6 +28,7 @@ testers.runNixOSTest {
|
|||
nixosModules.ascensions
|
||||
nixosModules.systemd-extras
|
||||
nixosModules.consul-distributed-services
|
||||
cluster.config.services.consul.nixos.ready
|
||||
];
|
||||
systemd.services = {
|
||||
create-file = {
|
||||
|
|
|
@ -12,6 +12,7 @@ in
|
|||
ascensions = pkgs.callPackage ./ascensions.nix {
|
||||
inherit (self'.packages) consul;
|
||||
inherit (self) nixosModules;
|
||||
inherit (config) cluster;
|
||||
};
|
||||
|
||||
garage = pkgs.callPackage ./garage.nix {
|
||||
|
|
Loading…
Reference in a new issue