diff options
author | Astro <astro@spaceboyz.net> | 2022-03-08 02:46:26 +0100 |
---|---|---|
committer | Astro <astro@spaceboyz.net> | 2022-03-09 01:19:10 +0100 |
commit | 70c1e849c0b5741e07e7d8d0d418764e2fdb4e24 (patch) | |
tree | d68e3e477acc0424115b9d2f7e6fda725e360ef4 /pkgs/misc/logging | |
parent | a60ab35dd653b0969c014ced93396d212f1c460c (diff) |
nixos/tests/pacemaker: init
Diffstat (limited to 'pkgs/misc/logging')
-rw-r--r-- | pkgs/misc/logging/pacemaker/default.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/misc/logging/pacemaker/default.nix b/pkgs/misc/logging/pacemaker/default.nix index 7277ae091e78..07194380d4a7 100644 --- a/pkgs/misc/logging/pacemaker/default.nix +++ b/pkgs/misc/logging/pacemaker/default.nix @@ -17,6 +17,7 @@ , pam , pkg-config , python3 +, nixosTests # Pacemaker is compiled twice, once with forOCF = true to extract its # OCF definitions for use in the ocf-resource-agents derivation, then @@ -87,11 +88,15 @@ stdenv.mkDerivation rec { rm -r $out/nix ''; + passthru.tests = { + inherit (nixosTests) pacemaker; + }; + meta = with lib; { homepage = "https://clusterlabs.org/pacemaker/"; description = "Pacemaker is an open source, high availability resource manager suitable for both small and large clusters."; license = licenses.gpl2Plus; platforms = platforms.linux; - maintainers = with maintainers; [ ryantm ]; + maintainers = with maintainers; [ ryantm astro ]; }; } |