[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: replace: olcAccess
- To: openldap-technical@openldap.org
- Subject: Re: replace: olcAccess
- From: Christopher Wood <christopher_wood@pobox.com>
- Date: Tue, 6 Jan 2015 10:55:16 -0500
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; s=sasl; bh=kTQuNChiQ6ueL oS5yvS1MHmEl5s=; b=bqN+fwF/KOh4Uw2kgoParePjPLxKT++CRJH4harm3w51F CVbgMT2fP8N8ySnblBtNLS5/Dvx/wEUrkfp7m4w1xvvtlAK4Q3WsGG541ZLtG2wk SXQeowB6zIUHorIUUzUrH35x6SamHkeXGXVIUcKI8rKa1Ad/hkkak3d/YyzgJY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to :subject:message-id:references:mime-version:content-type :in-reply-to:content-transfer-encoding; q=dns; s=sasl; b=n7IVBHY /Lr8hy5iOibuOYapfaSUBuso0uXY3Gnd99sXHqVTMtEcXVePxxitVXqDx4n/dsJ6 J277AcXo6GIdyv11miSoV6khWiBH+LwwLapaRNGnIm/3RBf2XjrD0BlEKWd+kgIH kBP5ES27l3tjy8ucNHxRjsnAQ34/b1JMyDNI=
- In-reply-to: <54ABDF53.5020405@stroeder.com>
- References: <CAA1SNA0uVH0tEMmavkE40E1MteBTB0F=n5+G_n+mp3dyZah2EA@mail.gmail.com> <54ABDF53.5020405@stroeder.com>
- User-agent: Mutt/1.5.21 (2010-09-15)
On Tue, Jan 06, 2015 at 02:12:51PM +0100, Michael Ströder wrote:
> Igor Shmukler wrote:
> > With help from various generous people on this list, I am finishing up
> > with my project. Among other things, I need to perform a
> > non-interactive OpenLDAP configuration.
>
> I'd use static configuration which will still be supported in 2.5.x, at least
> a small snippet for boot-strapping.
I previously used puppet to automate the following:
add a templated cn=config ldif to a host
(with pre-populated syncrepl config)
add templated database ldifs to a host
run a wrapper to slapadd them all
start slapd
This meant that I could boot a new server and come back in a few hours after syncrepl replication had finished to find a working replica. I presume the same technique will work no matter which configuration management software is in use.
I used slapcat on my existing pre-prod cn=config and databases to get the basic structure which I used to create the templated ldifs.
> Ciao, Michael.
>