From a255ec16f310f32f67eabfbbfb4f8b336d9a033b Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Wed, 18 Mar 2015 15:20:44 +0000 Subject: [PATCH] Make umdl use the real content To prepare MM2 for production let's switch to the real data instead of the testdata. Additionally specify a timeout of 4 hours on rsync crawls. --- .../frontend2/templates/mirrormanager2.cfg | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg index a792d31d81..b81f584d0b 100644 --- a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg +++ b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg @@ -86,7 +86,9 @@ APPLICATION_URL = None # in front of the application). CHECK_SESSION_IP = True - +# Specify additional rsync parameters for the crawler +# # --timeout 14400: abort rsync crawl after 4 hours +CRAWLER_RSYNC_PARAMETERS = '--no-motd --timeout 14400' ### # Configuration options used by the crons @@ -99,27 +101,27 @@ CRAWLER_SEND_EMAIL = False umdl_master_directories = [ { 'type': 'directory', - 'path': '../testdata/pub/epel/', + 'path': '/srv/pub/epel/', 'category': 'Fedora EPEL' }, { 'type': 'directory', - 'path': '../testdata/pub/fedora/linux/', + 'path': '/srv/pub/fedora/linux/', 'category': 'Fedora Linux' }, { 'type': 'directory', - 'path': '../testdata/pub/fedora-secondary/', + 'path': '/srv/pub/fedora-secondary/', 'category': 'Fedora Secondary Arches' }, { 'type': 'directory', - 'path': '../testdata/pub/archive/', + 'path': '/srv/pub/archive/', 'category': 'Fedora Archive' }, { 'type': 'directory', - 'path': '../testdata/pub/alt/', + 'path': '/srv/pub/alt/', 'category': 'Fedora Other' }, # {