From 9c995e30c314e291f329e70d9ed8dbbf0bf75726 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Sat, 17 Jun 2017 13:39:54 +0200 Subject: [PATCH] mirrormanager2: add new options to mirrormanager config Disable master rsync server ACL Fedora does not use it and therefore it is set to False MASTER_RSYNC_ACL = False The netblock size parameters define which netblock sizes can be added by a site administrator. Larger networks can only be added by mirrormanager admins. MM_IPV4_NETBLOCK_SIZE = '/16' MM_IPV6_NETBLOCK_SIZE = '/32' Signed-off-by: Adrian Reber --- .../frontend2/templates/mirrormanager2.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg index a12c86ecff..7dafaf478e 100644 --- a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg +++ b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg @@ -112,6 +112,10 @@ SHOW_PROPAGATION = True # Where to look for the above mentioned propagation images. PROPAGATION_BASE = '/var/www/mirrormanager-statistics/data/propagation' +# Disable master rsync server ACL +# Fedora does not use it and therefore it is set to False +MASTER_RSYNC_ACL = False + # When this is set to True, the session cookie will only be returned to the # server via ssl (https). If you connect to the server via plain http, the # cookie will not be sent. This prevents sniffing of the cookie contents. @@ -138,6 +142,12 @@ MM_LOG_DIR = '/var/log/mirrormanager' # or setting it to '' removes any protocol restrictions. MM_PROTOCOL_REGEX = '^(?!ftp)(.*)$' +# The netblock size parameters define which netblock sizes can be +# added by a site administrator. Larger networks can only be added by +# mirrormanager admins. +MM_IPV4_NETBLOCK_SIZE = '/16' +MM_IPV6_NETBLOCK_SIZE = '/32' + # If not specified the application will rely on the root_url when sending # emails, otherwise it will use this URL # Default: ``None``.