From 2938c390671ca5c3346e44daebb29240ca3644e9 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 14 Jan 2018 05:01:42 +0000 Subject: [PATCH] Drop mirrorlists from templates too --- roles/mirrormanager/backend/templates/create_statistics.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roles/mirrormanager/backend/templates/create_statistics.sh b/roles/mirrormanager/backend/templates/create_statistics.sh index 16ff660167..73200ef0e1 100644 --- a/roles/mirrormanager/backend/templates/create_statistics.sh +++ b/roles/mirrormanager/backend/templates/create_statistics.sh @@ -1,6 +1,5 @@ #!/bin/sh -MIRRORLIST_SERVERS="{% for host in groups['mirrorlist2'] %} {{ host }} {% endfor %}" MIRRORLIST_PROXIES="{% for host in groups['mirrorlist-proxies'] %} {{ host }} {% endfor %}" FRONTENDS="{% for host in groups['mm-frontend'] %} {{ host }} {% endfor %}" @@ -24,10 +23,6 @@ OUTPUT=`mktemp -d` trap "rm -f ${OUTPUT}/*; rmdir ${OUTPUT}" QUIT TERM INT HUP EXIT -# Fetch compressed log files -for s in ${MIRRORLIST_SERVERS}; do - ssh $s "( xzcat $INFILE | gzip -4 )" >> ${OUTPUT}/mirrorlist.log.gz -done for s in ${MIRRORLIST_PROXIES}; do ssh $s "( cat $CONTAINER1 | gzip -4 )" >> ${OUTPUT}/mirrorlist.log.gz ssh $s "( cat $CONTAINER2 | gzip -4 )" >> ${OUTPUT}/mirrorlist.log.gz