diff options
author | Florian Klink <flokli@flokli.de> | 2019-11-24 22:33:51 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-11-24 22:38:07 +0100 |
commit | 02f869ff30a3d0f3a431b49a3e0e0469cf7e50cd (patch) | |
tree | bf89dc298b18d2c906eeb939f28f0b80a32bf13b /nixos/tests/osquery.nix | |
parent | e994b67a7f81498294cd7e8bf462ebec6f19ce24 (diff) |
osquery: remove
osquery was marked as broken since April. If somebody steps up to fix it, we can always revive it from the histroy, but there's not much value in shipping completely broken things in current master. cc @ma27
Diffstat (limited to 'nixos/tests/osquery.nix')
-rw-r--r-- | nixos/tests/osquery.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/nixos/tests/osquery.nix b/nixos/tests/osquery.nix deleted file mode 100644 index d95871ffafc6f..0000000000000 --- a/nixos/tests/osquery.nix +++ /dev/null @@ -1,28 +0,0 @@ -import ./make-test.nix ({ pkgs, lib, ... }: - -with lib; - -{ - name = "osquery"; - meta = with pkgs.stdenv.lib.maintainers; { - maintainers = [ ma27 ]; - }; - - machine = { - services.osquery.enable = true; - services.osquery.loggerPath = "/var/log/osquery/logs"; - services.osquery.pidfile = "/run/osqueryd.pid"; - }; - - testScript = '' - $machine->start; - $machine->waitForUnit("osqueryd.service"); - - $machine->succeed("echo 'SELECT address FROM etc_hosts LIMIT 1;' | osqueryi | grep '127.0.0.1'"); - $machine->succeed( - "echo 'SELECT value FROM osquery_flags WHERE name = \"logger_path\";' | osqueryi | grep /var/log/osquery/logs" - ); - - $machine->succeed("echo 'SELECT value FROM osquery_flags WHERE name = \"pidfile\";' | osqueryi | grep /run/osqueryd.pid"); - ''; -}) |