[Yum] Repo Management
seth vidal
skvidal at fedoraproject.org
Wed Oct 10 06:41:12 UTC 2007
On Wed, 2007-10-10 at 08:15 +0200, Jos Vos wrote:
> On Tue, Oct 09, 2007 at 07:55:20PM -0400, seth vidal wrote:
>
> > include=http://myserver/some/yum.conf
> >
> > in your /etc/yum.conf and it will grab that file and 'heredoc' it.
>
> Are variables substituted in the URL? Then you can set some $YUM<n>
> variable, e.g. to the hostname or to some a class name (e.g. "desktops"),
> so that you can create config files per hostname/class and make them
> available via NFS or so.
They're not available at the point when the include= lines are being
preprocessed. The data isn't available yet at that point in the code. We
might be able to make it so the $YUM0-9 stuff is available but
everything else wouldn't be.
-sv
More information about the Yum
mailing list