+117
-7
nixos/modules/services/databases/influxdb2.nix
+117
-7
nixos/modules/services/databases/influxdb2.nix
······description = lib.mdDoc ''configuration options for influxdb2, see <https://docs.influxdata.com/influxdb/v2.0/reference/config-options> for details.'';-assertion = !(builtins.hasAttr "bolt-path" cfg.settings) && !(builtins.hasAttr "engine-path" cfg.settings);-message = "services.influxdb2.config: bolt-path and engine-path should not be set as they are managed by systemd";······
······description = lib.mdDoc ''configuration options for influxdb2, see <https://docs.influxdata.com/influxdb/v2.0/reference/config-options> for details.'';+message = "services.influxdb2.config: bolt-path and engine-path should not be set as they are managed by systemd";···+export INFLUX_HOST="http://"${escapeShellArg (cfg.settings.http-bind-address or "localhost:8086")}···
+1
nixos/tests/all-tests.nix
+1
nixos/tests/all-tests.nix
···
···
+36
nixos/tests/influxdb2.nix
+36
nixos/tests/influxdb2.nix
···
···+machine.fail("curl --fail -X POST 'http://localhost:8086/api/v2/signin' -u admin:wrongpassword")+machine.succeed("curl --fail -X POST 'http://localhost:8086/api/v2/signin' -u admin:ExAmPl3PA55W0rD")
+3
pkgs/servers/nosql/influxdb2/default.nix
+3
pkgs/servers/nosql/influxdb2/default.nix
······