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 <adrian@lisas.de>
This commit is contained in:
Adrian Reber 2017-06-17 13:39:54 +02:00
parent edb1cbdd27
commit 9c995e30c3

View file

@ -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``.