mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
12 lines
251 B
Nix
12 lines
251 B
Nix
import ./make-test-python.nix ({ pkgs, ... }: {
|
|
name = "powerdns";
|
|
|
|
nodes.server = { ... }: {
|
|
services.pdns-recursor.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
server.wait_for_unit("pdns-recursor")
|
|
server.wait_for_open_port("53")
|
|
'';
|
|
})
|