I would like to change the MM2 configuration file to access the real content instead of the testdata: commit 06cec996d9ef9a94c428b8f10bd3d2bdc327f279 Author: Adrian Reber <adrian@xxxxxxxx> Date: Wed Mar 18 15:20:44 2015 +0000 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. diff --git a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg index a792d31..b81f584 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' }, # {
Attachment:
pgpnnOdLXbVnF.pgp
Description: PGP signature
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure