From 98a3ef1e6450ff13c17b33368efb7500236943a7 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Wed, 15 Jul 2015 14:39:23 +0200 Subject: [PATCH] Define the UMDL_PREFIX for umdl2 on stg --- roles/mirrormanager/frontend2/templates/mirrormanager2.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg index b26495fa48..79a1621a2a 100644 --- a/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg +++ b/roles/mirrormanager/frontend2/templates/mirrormanager2.cfg @@ -121,6 +121,10 @@ CRAWLER_RSYNC_PARAMETERS = '--no-motd --timeout 14400' # the host will be disable automatically (user_active) CRAWLER_AUTO_DISABLE = 4 +{% if env == 'staging' %} +UMDL_PREFIX = '/srv/' +{% endif %} + umdl_master_directories = [ { 'type': 'directory',