From 7cfe45d7d89d79eab47f3349fb01859542ac2631 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Mon, 8 Jun 2015 08:43:48 +0000 Subject: [PATCH] Revert "Added hotfix to not disable always up2date categories." This reverts commit 4fd68994e17638cef1121ef136f8c82c8d900e3f. --- files/hotfix/mirrormanager2/mm2_crawler | 1 - roles/mirrormanager/crawler/tasks/main.yml | 8 -------- 2 files changed, 9 deletions(-) diff --git a/files/hotfix/mirrormanager2/mm2_crawler b/files/hotfix/mirrormanager2/mm2_crawler index 9681a3b7a5..e05f7e4fae 100755 --- a/files/hotfix/mirrormanager2/mm2_crawler +++ b/files/hotfix/mirrormanager2/mm2_crawler @@ -978,7 +978,6 @@ def per_host(session, host, options, config): for hc in host_categories_to_scan: if hc.always_up2date: - successful_categories += 1 continue category = hc.category diff --git a/roles/mirrormanager/crawler/tasks/main.yml b/roles/mirrormanager/crawler/tasks/main.yml index 2bb524c549..e1ce65b693 100644 --- a/roles/mirrormanager/crawler/tasks/main.yml +++ b/roles/mirrormanager/crawler/tasks/main.yml @@ -61,11 +61,3 @@ - name: startup apache service: name=httpd enabled=yes state=started - -# https://github.com/fedora-infra/mirrormanager2/pull/67 -- name: HOTFIX - fix crawler for hosts which are always up2date - copy: src="{{ files }}/hotfix/mirrormanager2/mm2_crawler" dest=/usr/bin/mm2_crawler - owner=root group=root mode=0755 - tags: - - hotfix -