diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-02-20 21:49:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-20 21:49:41 +0000 |
commit | 57ad5dc8440d341dfb600730785a75b98d663cd8 (patch) | |
tree | ab35898ec8e2471a0c9bdbc2d0c9247104b0b1a6 /nixos/tests | |
parent | 2470d22ae18df859c7e0822a188c2d7551ca15ba (diff) | |
parent | ba27be7955632b1d470ed86a260b7cac3cf03fd8 (diff) | |
download | nixlib-57ad5dc8440d341dfb600730785a75b98d663cd8.tar nixlib-57ad5dc8440d341dfb600730785a75b98d663cd8.tar.gz nixlib-57ad5dc8440d341dfb600730785a75b98d663cd8.tar.bz2 nixlib-57ad5dc8440d341dfb600730785a75b98d663cd8.tar.lz nixlib-57ad5dc8440d341dfb600730785a75b98d663cd8.tar.xz nixlib-57ad5dc8440d341dfb600730785a75b98d663cd8.tar.zst nixlib-57ad5dc8440d341dfb600730785a75b98d663cd8.zip |
Merge pull request #35078 from Mic92/powerdns
powerdns: 4.0.5 -> 4.1.1
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/powerdns.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixos/tests/powerdns.nix b/nixos/tests/powerdns.nix new file mode 100644 index 000000000000..0d5b0f715f52 --- /dev/null +++ b/nixos/tests/powerdns.nix @@ -0,0 +1,12 @@ +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"); + ''; +}) |