mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
18 lines
362 B
Nix
18 lines
362 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
name = "portunus";
|
|
meta.maintainers = with lib.maintainers; [ SuperSandro2000 ];
|
|
|
|
nodes.machine = _: {
|
|
services.portunus = {
|
|
enable = true;
|
|
ldap.suffix = "dc=example,dc=org";
|
|
};
|
|
};
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("portunus.service")
|
|
machine.succeed("curl --fail -vvv http://localhost:8080/")
|
|
'';
|
|
}
|