about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorPyrox <pyrox@pyrox.dev>2024-04-24 14:45:57 -0400
committerPyrox <pyrox@pyrox.dev>2024-04-24 17:13:51 -0400
commitb4fd1b4fe2cf110b1ef362deb32d398991742ba1 (patch)
treef826b7790f3e25be3f98d8a0e87e6956b5b32aec /nixos/tests
parentae359d1ef24a2d1d816404159787ca836ac9f551 (diff)
nixos/tests/prometheus-exporters: Fix test failure
This fixes an issue with the test where olcDbDirectory must be a
subdirectory of /var/lib/openldap, but is not configured as such, so the
test fails.

All other tests pass properly.
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/prometheus-exporters.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix
index 576253450814f..56569c4de2c85 100644
--- a/nixos/tests/prometheus-exporters.nix
+++ b/nixos/tests/prometheus-exporters.nix
@@ -907,7 +907,7 @@ let
               attrs = {
                 objectClass = [ "olcDatabaseConfig" "olcMdbConfig" ];
                 olcDatabase = "{1}mdb";
-                olcDbDirectory = "/var/db/openldap";
+                olcDbDirectory = "/var/lib/openldap/db";
                 olcSuffix = "dc=example";
                 olcRootDN = {
                   # cn=root,dc=example