[Yum-devel] [PATCH 2/2] add docs for globdir: syntax

Seth Vidal skvidal at fedoraproject.org
Mon Apr 26 14:27:20 UTC 2010



On Mon, 26 Apr 2010, James Antill wrote:

> On Mon, 2010-04-26 at 09:54 -0400, Seth Vidal wrote:
>> ---
>>  docs/yum.conf.5 |    8 ++++++++
>>  1 files changed, 8 insertions(+), 0 deletions(-)
>>
>> diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
>> index dfc09b7..a809faa 100644
>> --- a/docs/yum.conf.5
>> +++ b/docs/yum.conf.5
>> @@ -734,6 +734,14 @@ The configuration file will be inserted at the position of the "include=" line.
>>  Included files may contain further include lines. Yum will abort with an error
>>  if an inclusion loop is detected.
>>
>> +.SH "GLOBDIR FOR LIST OPTIONS"
>> +.LP
>> +Any of the configurations options which are a list of items can be specfied
>> +using the globdir syntax: \fBglobdir:/etc/path/somewhere.d/*.conf\fR. This
>> +will read in all files matching that glob and include all lines in each file
>> +(excluding comments and blank lines) as items in the list.
>> +.LP
>> +
>
> So I'm happy to ACK them as is (consider it done) ... but I just want
> to make sure you understand that users can do things like:
>
> globdir:/etc/path/blah.conf
>
> globdir:/etc/blah/*/yum/blah.conf
>
are you worried about this from a 'user shooting themselves in the foot' 
standpoint or something else?

-sv



More information about the Yum-devel mailing list