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.
This commit is contained in:
Pyrox 2024-04-24 14:45:57 -04:00
parent ae359d1ef2
commit b4fd1b4fe2
No known key found for this signature in database
GPG Key ID: 8CDF3F7CAA53A0F5

View File

@ -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