Blame SOURCES/BZ-1509831-baseurl-clarify-multiple-urls.patch

e5ee8d
commit 98c6fbf4a338239ce7e54bdd48e25e8b294359db
e5ee8d
Author: Michal Domonkos <mdomonko@redhat.com>
e5ee8d
Date:   Wed Jun 13 17:19:27 2018 +0200
e5ee8d
e5ee8d
    docs: baseurl: clarify multiple URLs
e5ee8d
e5ee8d
diff --git a/docs/yum.conf.5 b/docs/yum.conf.5
e5ee8d
index 5d9ab61a..0f77d913 100644
e5ee8d
--- a/docs/yum.conf.5
e5ee8d
+++ b/docs/yum.conf.5
e5ee8d
@@ -1032,8 +1032,10 @@ A human readable string describing the repository.
e5ee8d
 .IP
e5ee8d
 \fBbaseurl\fR
e5ee8d
 Must be a URL to the directory where the yum repository's `repodata' directory
e5ee8d
-lives. Can be an http://, ftp:// or file:// URL. You can specify multiple URLs
e5ee8d
-in one baseurl statement. The best way to do this is like this:
e5ee8d
+lives. Can be an http://, ftp:// or file:// URL.
e5ee8d
+
e5ee8d
+You can specify multiple URLs in one baseurl statement. The best way to do this
e5ee8d
+is like this:
e5ee8d
 .br
e5ee8d
 [repositoryid]
e5ee8d
 .br
e5ee8d
@@ -1046,6 +1048,12 @@ baseurl=url://server1/path/to/repository/
e5ee8d
         url://server3/path/to/repository/
e5ee8d
 .br
e5ee8d
 
e5ee8d
+The URLs listed are considered different locations (mirrors) of the same
e5ee8d
+repository.
e5ee8d
+That means, if one URL fails, another one is tried, and so on.
e5ee8d
+The order in which the URLs are tried is determined by the \fBfailovermethod\fR
e5ee8d
+option.
e5ee8d
+
e5ee8d
 If you list more than one baseurl= statement in a repository you will find
e5ee8d
 yum will ignore the earlier ones and probably act bizarrely. Don't do this,
e5ee8d
 you've been warned.