[Mageia-sysadm] [211] - replace hardcoded domain by a variable, to ease reuse of the module

Michael Scherer misc at zarb.org
Wed Nov 10 15:16:28 CET 2010


Le mardi 09 novembre 2010 à 14:35 +0100, Buchan Milne a écrit :
> On Tuesday, 9 November 2010 03:21:57 root at mageia.org wrote:
> > Revision: 211
> > Author:   misc
> > Date:     2010-11-09 03:21:57 +0100 (Tue, 09 Nov 2010)
> > Log Message:
> > -----------
> > - replace hardcoded domain by a variable, to ease reuse of the module
> > 
> > Modified Paths:
> > --------------
> >     puppet/modules/openldap/templates/slapd.conf
> > 
> > Modified: puppet/modules/openldap/templates/slapd.conf
> > ===================================================================
> > --- puppet/modules/openldap/templates/slapd.conf	2010-11-08 23:18:50 
> UTC
> > (rev 210) +++ puppet/modules/openldap/templates/slapd.conf	2010-11-09
> > 02:21:57 UTC (rev 211) @@ -1,3 +1,9 @@
> 
> There is also mandriva-dit-access.conf, but doing this more or less reverts it 
> to the file delivered with openldap-mandriva-dit, except for the local 
> modifications to:
> 1. provide registrar with minimal write access
> 2. disable anon access
> 3. put back some access that previously relied on "by * read" which maybe 
> should not be "by users read".
> 
> Since (2) and (3) are generally useful, and (1) could probably be done with a 
> separate include file specific to mageia, maybe openldap-mandriva-dit should 
> deliver a puppet template file, which may be useful more generally?

I do not really understand, so maybe I am wrong.

Then it would requires erb, facter and likely puppet to be useful to
others people, so that doesn't seems very flexible ?

( on the other hand, feel free to merge change in the package if you
find them useful, you are the ldap guru )

-- 
Michael Scherer



More information about the Mageia-sysadm mailing list