I would like to change the MM2 configuration file to access the real content instead of the testdata:
commit 06cec996d9ef9a94c428b8f10bd3d2bdc327f279 Author: Adrian Reber adrian@lisas.de 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' }, # {
On Wed, 18 Mar 2015 16:37:30 +0100 Adrian Reber adrian@lisas.de wrote:
I would like to change the MM2 configuration file to access the real content instead of the testdata:
+1
Commit and I can run playbooks for you. ;)
kevin
On Wed, Mar 18, 2015 at 04:37:30PM +0100, Adrian Reber wrote:
I would like to change the MM2 configuration file to access the real content instead of the testdata:
commit 06cec996d9ef9a94c428b8f10bd3d2bdc327f279 Author: Adrian Reber adrian@lisas.de 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/',
}, { 'type': 'directory','path': '/srv/pub/epel/', 'category': 'Fedora EPEL'
'path': '../testdata/pub/fedora/linux/',
}, { 'type': 'directory','path': '/srv/pub/fedora/linux/', 'category': 'Fedora Linux'
'path': '../testdata/pub/fedora-secondary/',
}, { 'type': 'directory','path': '/srv/pub/fedora-secondary/', 'category': 'Fedora Secondary Arches'
'path': '../testdata/pub/archive/',
}, { 'type': 'directory','path': '/srv/pub/archive/', 'category': 'Fedora Archive'
'path': '../testdata/pub/alt/',
},'path': '/srv/pub/alt/', 'category': 'Fedora Other'# {
+1 as well
Pierre
infrastructure@lists.fedoraproject.org