3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request from womfoo/openldap

openldap: fix example for multiple-outputs and formatting
This commit is contained in:
Arseniy Seroka 2016-06-06 22:22:49 +03:00
commit c9f8cc4bf4

View file

@ -52,11 +52,12 @@ in
description = " description = "
sldapd.conf configuration sldapd.conf configuration
"; ";
example = '' example = literalExample ''
include ''${pkgs.openldap}/etc/openldap/schema/core.schema '''
include ''${pkgs.openldap}/etc/openldap/schema/cosine.schema include ${pkgs.openldap.out}/etc/openldap/schema/core.schema
include ''${pkgs.openldap}/etc/openldap/schema/inetorgperson.schema include ${pkgs.openldap.out}/etc/openldap/schema/cosine.schema
include ''${pkgs.openldap}/etc/openldap/schema/nis.schema include ${pkgs.openldap.out}/etc/openldap/schema/inetorgperson.schema
include ${pkgs.openldap.out}/etc/openldap/schema/nis.schema
database bdb database bdb
suffix dc=example,dc=org suffix dc=example,dc=org
@ -64,6 +65,7 @@ in
# NOTE: change after first start # NOTE: change after first start
rootpw secret rootpw secret
directory /var/db/openldap directory /var/db/openldap
'''
''; '';
}; };
}; };