about summary refs log tree commit diff
path: root/nixos/tests/sssd.nix
blob: c8d356e074ad5c3dd1edc0a601bbafc7ac9ae40e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import ./make-test-python.nix ({ pkgs, ... }:

{
  name = "sssd";
  meta = with pkgs.lib.maintainers; {
    maintainers = [ bbigras ];
  };
  nodes.machine = { pkgs, ... }: {
    services.sssd.enable = true;
  };

  testScript = ''
      start_all()
      machine.wait_for_unit("multi-user.target")
      machine.wait_for_unit("sssd.service")
      machine.succeed("sssctl config-check")
    '';
})