My understanding, or at least last time I checked, is that the "yum" in Anaconda doesn't support this, or other yum plugins.

 

Owen Mann, Interactive Data Real Time Services
60 Codman Hill Rd, Boxborough, MA 01719
978-795-3758 owen.mann@interactivedata.com

“We have to remember that what we observe is not nature in itself, but nature exposed to our method of questioning.” -Werner Heisenberg

 

From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of James Cammarata
Sent: Friday, May 03, 2013 8:31 AM
To: David Lee; cobbler mailing list
Subject: Re: [cobbler] cobbler repo add --mirror=url: multiple URLs?

 

On Fri, May 3, 2013 at 3:44 AM, David Lee <david.lee@ecmwf.int> wrote:

(cobbler 2.0.11; old; we could upgrade...)  RedHat systems.

We have a local repo of additional RPMs, so we linked cobbler to this via:
    cobbler repo add --mirror=url ...

That works fine.

But it would also be useful if that URL specification could refer to a set of URLs.  We maintain additional copies of this repo for resilience on multiple machines, and set up our clients' yum to use "mirrorlist".  But is there a way for cobbler, when installing a client, also to have such a list available to it, rather than just the one "--mirror=url"?=

 

It's funny that you mention this, as I was just talking about this in IRC last night. The short answer: no, cobbler doesn't support mirrors.  The conversation started last night as a user mentioned that --mirror is easily confused with --mirror-locally, which I completely agree with especially since you're not setting the mirror URL - you're setting the baseurl. 

 

Another problem is that a lot of the repo stuff is still handled through "magic" variables like $yum_repo_stanza. In my opinion, all of that logic needs to be moved to templates and snippets, which would make fixing something like this much easier for end users.

 

The downside (especially for you on 2.0.11) is that this fix would be in a future version, so you'd definitely have to upgrade.

 

TL;DR version - open an issue on github and I'll get working on it in the near future.

*******************************************************
This message (including any files transmitted with it) may contain confidential and/or proprietary information, is the property of Interactive Data Corporation and/or its subsidiaries, and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient's disclosure, copying, distribution, or use of this message or any attachments is prohibited and may be unlawful.
*******************************************************