mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
13 lines
294 B
Nix
13 lines
294 B
Nix
|
import ./make-test.nix ({ pkgs, ... }: {
|
||
|
name = "powerdns";
|
||
|
|
||
|
nodes.server = { config, pkgs, ... }: {
|
||
|
services.powerdns.enable = true;
|
||
|
};
|
||
|
|
||
|
testScript = ''
|
||
|
$server->waitForUnit("pdns");
|
||
|
$server->succeed("${pkgs.dnsutils}/bin/dig version.bind txt chaos \@127.0.0.1");
|
||
|
'';
|
||
|
})
|