[Mageia-sysadm] Packaging puppet modules
Michael Scherer
misc at zarb.org
Wed Mar 30 17:12:47 CEST 2011
Le vendredi 25 mars 2011 à 09:09 +0200, Buchan Milne a écrit :
> For quite some time I have been wanting to make a graphical tool for
> installing and configuring an LDAP server, using the online configuration
> (cn=config) capabilities of OpenLDAP, replacing 'openldap-mandriva-dit'.
> If it is possible to do this with puppet (I suspect not), I might consider a
> module for that (although, for the OpenLDAP project, it would probably be better
> to have a tool not dependent on puppet, so a Catalyst component was my original plan).
Well, I have done something for that.
I wrote custom type for openldap_ou, user, group, with different
providers.
Basically, I could say :
openldap::openldap_group { "mga-sysadmins": }
and have it added to ldap.
The goal was to ease the replication of the ldap on a test vm, along the
various usual vcs stuff ( comments, audit , etc ).
But I didn't went further, as this required to give access ( in my
implementation ) to the full ldap with ldapi:/// access, or to find a
way to store the password somewhere.
And I did it by calling ldapsearch/ldapadd directly, and that's not very
clean :)
I have this somewhere in git, but didn't push to our svn, I will see
once I am more fluent in ruby.
--
Michael Scherer
More information about the Mageia-sysadm
mailing list