3 import ./make-test-python.nix (
4 { pkgs, lib, extraSettings ? {} }: {
6 meta.maintainers = with pkgs.lib.maintainers; [ shyim ];
8 nodes.machine = lib.mkMerge [
10 virtualisation.memorySize = 2048;
11 services.opensearch.enable = true;
18 machine.wait_for_unit("opensearch.service")
19 machine.wait_for_open_port(9200)
22 "curl --fail localhost:9200"
28 opensearch = opensearchTest {};
29 opensearchCustomPathAndUser = opensearchTest {
31 services.opensearch.dataDir = "/var/opensearch_test";
32 services.opensearch.user = "open_search";
33 services.opensearch.group = "open_search";
34 systemd.tmpfiles.rules = [
35 "d /var/opensearch_test 0700 open_search open_search -"
38 groups.open_search = {};
40 description = "OpenSearch daemon user";
41 group = "open_search";