[Yum-devel] include directive and $variables in yum.conf/repos conf

seth vidal skvidal at linux.duke.edu
Fri Sep 29 15:58:02 UTC 2006


Hey,
 so we're at a bit of a dilemma. right now include= in the config file
only works if it is under a [section] of some kind

so, for example

yum.conf
include=http://path/to/some/file


won't work

it would only work if it was:
yum.conf

[foo]
include=http:///path/to/some/file


which is kinda hurky.

So, we could use the confpp class from yum 2.4.X that Ryan and Michael
wrote - but that would mean that:

include=http://foo/$releasever/$basearch

wouldn't work - b/c the $variables are not known yet. confpp assembles
the whole file.

so - what we're trying to figure out here is what should the behavior
be?

opinions?

-sv





More information about the Yum-devel mailing list