Re: Repo Management

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1191998472.6741.251.camel@cutter>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.