[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Environment variable in slapd config



Yes and an environment variable is easy to set on task launch to a 
'unique' value or can be parsed from the marathon gui eg.



-----Original Message-----
Subject: Re: Environment variable in slapd config

>  
> If you have a container image, and you spawn from that multiple 
> instances, you have to be able to 'easily' change unique qualifiers, 
> not?

What part of "RIDs are supposed to be unique within a single config"
did you not understand?

If you run multiple instances, each one has its own config. It doesn't 
matter if you use the same RID in multiple configs.
> 
> 
> -----Original Message-----
> Subject: Re: Environment variable in slapd config
> 
> Michael Ströder wrote:
>> On 8/16/19 12:02 PM, Marc Roos wrote:
>>> Is it possible to reference an environment variable in olcSyncrepl: 
>>> {0}rid= ?
>>
>> No.
> 
> The example doesn't even make sense. RIDs are supposed to be unique 
> within a single config, there's no reason for them to have any global 
> context such as an env var would imply.
>>
>> My recommendation is to use a decent config managment (ansible, chef, 

>> puppet, salt, ..) for the job.



--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/