mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
19 lines
394 B
Nix
19 lines
394 B
Nix
import ./make-test-python.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/")
|
|
'';
|
|
})
|