[SSSD] New version of the libini_config section merge design

Petr Spacek pspacek at redhat.com
Thu Jun 12 15:32:29 UTC 2014


On 12.6.2014 12:11, Pavel Březina wrote:
> On 06/05/2014 10:55 PM, Dmitri Pal wrote:
>> On 05/30/2014 09:45 PM, Dmitri Pal wrote:
>>> Hello,
>>>
>>> I reworked the design based on the feedback provided.
>>> It is a completely rewritten version.
>>> Please take a look.
>>> https://fedorahosted.org/sssd/wiki/DesignDocs/ding-libs/INIConfigMerge
>>>
>> Is everyone cool with this approach or just do not have time to review it?
>
> Well, for the use cases you mentioned I think the design is OK.
>
> However, the augmentation is quite complicated. Wouldn't it really be possible
> to stick with the common approach of include_dir and only including files and
> define some rules how to enable domains and services? Have you though about it?

BTW systemd already coded merging algorithm for their INI files. My personal 
experience is that it works pretty well.

-- 
Petr^2 Spacek



More information about the sssd-devel mailing list