brainstorm ldap type/provider

25 views
Skip to first unread message

Johan De Wit

unread,
Nov 4, 2013, 4:47:31 PM11/4/13
to puppe...@googlegroups.com, puppet...@googlegroups.com
hi,

Just thinking how i could manage ldap server with puppet, using dynamic
configuration.
I would follow the next step :

In the manifest :

install required packages for ldap server
doing a 'site specific' basic configuration, meaning pushing a custon
/etc/<ldapbasedir>/slapd.d
develop some ldap type, to tweak online the ldap server. I think this
would only be used for the ldap server config.
It should contain config_basic stuff, and misc supported replication types,

This should(well, maybe must) handle only the configuration of an ldap
server.

I'm just thinking to my own situation, trying to be as generic as i can,
but any input is very welcome, so i can put them into the code/design

I started with https://forge.puppetlabs.com/torian/ldap, but it is still
using the static config for a start, althought in the master branch, the
first dynamic configurations are there, using the exec resource.

But I prefer the a type/provider solution.

If anyone has some requests, remarks, critiques ... the are welcome.

I attached a 15 min brainstorm typing session of what the ldap_whatever
type could look like

grts

jo



--
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer (805008667232363)
Puppet Certified Professional 2013 (PCP0000006)
_________________________________________________________

Open-Future Phone +32 (0)2/255 70 70
Zavelstraat 72 Fax +32 (0)2/255 70 71
3071 KORTENBERG Mobile +32 (0)474/42 40 73
BELGIUM http://www.open-future.be
_________________________________________________________



Next Events:
Puppet Advanced Training | https://www.open-future.be/puppet-advanced-training-12-till-14th-november
Zabbix Certified Training | http://www.open-future.be/zabbix-certified-training-18-till-20th-november
Zabbix Large Environments Training | http://www.open-future.be/zabbix-large-environments-training-21-till-22nd-november
Puppet Fundamentals Training | http://www.open-future.be/puppet-fundamentals-training-10-till-12th-december
Subscribe to our newsletter | http://eepurl.com/BUG8H
ldap_dir_entry.rb

Grégory Oestreicher

unread,
Nov 5, 2013, 4:09:27 AM11/5/13
to puppe...@googlegroups.com
Hi Johan,

Le Lundi 4 Novembre 2013 22:47 CET, Johan De Wit <Jo...@open-future.be> a écrit:

> Just thinking how i could manage ldap server with puppet, using dynamic
> configuration.

I've worked on a similar resource and using it successfully for my own needs. It's a bit tailored for my own needs, supports only Debian at the moment, but could be a good starting point for a more standard resource. You can grab it from http://ogre.nerim.net/puppet-ldap.tar.bz2 and adapt it freely.

I've been holding it waiting to have some time to clean it up, and lacks a license at the moment because I couldn't decide if it'd be a welcome addition as an official Puppet resource. Now's as good a time as any other to start gathering feedback so feel free to comment and propose changes :)

Cheers,
Grégory

Johan De Wit

unread,
Nov 5, 2013, 5:36:38 AM11/5/13
to puppe...@googlegroups.com
Hi Gregory,

thanks for the offer. I just start looking at the code, and will give
you feedback.
If i manage to write something usable, i will post it on the forge.

On 11/05/2013 10:09 AM, Gr�gory Oestreicher wrote:
> Hi Johan,
>
> Le Lundi 4 Novembre 2013 22:47 CET, Johan De Wit <Jo...@open-future.be> a �crit:
>
>> Just thinking how i could manage ldap server with puppet, using dynamic
>> configuration.
>
> I've worked on a similar resource and using it successfully for my own needs. It's a bit tailored for my own needs, supports only Debian at the moment, but could be a good starting point for a more standard resource. You can grab it from http://ogre.nerim.net/puppet-ldap.tar.bz2 and adapt it freely.
>
> I've been holding it waiting to have some time to clean it up, and lacks a license at the moment because I couldn't decide if it'd be a welcome addition as an official Puppet resource. Now's as good a time as any other to start gathering feedback so feel free to comment and propose changes :)
>
> Cheers,
> Gr�gory
Reply all
Reply to author
Forward
0 new messages