diff --git a/roles/mirrorlist/tasks/main.yml b/roles/mirrorlist/tasks/main.yml
index 348eb2a..207c0c6 100644
--- a/roles/mirrorlist/tasks/main.yml
+++ b/roles/mirrorlist/tasks/main.yml
@@ -12,6 +12,14 @@
tags:
- packages
+# Put in the HOTFIX
+- name: HOTFIX mirrorlist_server.py
+ src="" dest=/usr/share/mirrormanager/mirrorlist-server/mirrorlist_server.py
+ tags:
+ - files
+ notify:
+ - restart httpd
+
# mirrormanager user ssh key(s)
- name: add authorized_keys for mirrormanager
authorized_key: key="{{ item }}" user=mirrormanager state=present
commit d4329c3c80114afd2de2acef5d410a67da655410
Author: Stephen Smoogen <smooge@xxxxxxxxxx>
Date: Fri Dec 5 21:08:20 2014 +0000
update to patched version which adds additional logs
diff --git a/roles/mirrorlist/files/mirrorlist_server.py b/roles/mirrorlist/files/mirrorlist_server.py
index 4bde704..118ff4c 100755
--- a/roles/mirrorlist/files/mirrorlist_server.py
+++ b/roles/mirrorlist/files/mirrorlist_server.py
@@ -662,7 +662,9 @@ def do_mirrorlist(kwargs):
ip_str = kwargs['IP'].strNormal()
except:
ip_str = 'Unknown IP'
- log_string = "mirrorlist: %s found its best mirror from %s" % (ip_str, where_string)
+
+ pid = str(os.getpid())
+ log_string = "mirrorlist(%s): %s found its best mirror from %s (%s)" % (pid, ip_str, where_string, header)
syslogger.info(log_string)
hosts_and_urls = append_path(allhosts, cache, file, pathIsDirectory=pathIsDirectory)
Stephen J Smoogen.
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure