1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/nixos/tests/powerdns.nix

14 lines
314 B
Nix
Raw Normal View History

2019-11-08 11:18:37 -05:00
import ./make-test-python.nix ({ pkgs, ... }: {
2018-02-17 08:36:28 -05:00
name = "powerdns";
nodes.server = { ... }: {
2018-02-17 08:36:28 -05:00
services.powerdns.enable = true;
2019-11-08 11:18:37 -05:00
environment.systemPackages = [ pkgs.dnsutils ];
2018-02-17 08:36:28 -05:00
};
testScript = ''
2019-11-08 11:18:37 -05:00
server.wait_for_unit("pdns")
server.succeed("dig version.bind txt chaos \@127.0.0.1")
2018-02-17 08:36:28 -05:00
'';
})