nixos/openldap: Remove extraConfig options

Instead of deprecating, as per PR feedback
This commit is contained in:
Kai Wohlfahrt
2020-11-21 16:13:03 +00:00
parent 2050376cae
commit 3f892c2174
3 changed files with 51 additions and 141 deletions
-22
View File
@@ -121,26 +121,4 @@ in {
)
'' + testScript;
};
# extraConfig forces use of slapd.conf, test this until that option is removed
legacyConfig = import ./make-test-python.nix {
inherit testScript;
name = "openldap";
machine = { pkgs, ... }: {
services.openldap = {
enable = true;
suffix = "dc=example";
rootdn = "cn=root,dc=example";
rootpw = "notapassword";
extraConfig = ''
# No-op
'';
extraDatabaseConfig = ''
# No-op
'';
declarativeContents = dbContents;
};
};
};
}