From 99eee653cc5306a2dd518b4c1b1371eb8317dd2e Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 28 Mar 2019 23:52:58 +0100 Subject: [PATCH] Capture internal proxies in synced HTTP logs Signed-off-by: Patrick Uiterwijk --- roles/base/templates/syncHttpLogs.sh.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/base/templates/syncHttpLogs.sh.j2 b/roles/base/templates/syncHttpLogs.sh.j2 index d83f63d65f..8cca68d5da 100644 --- a/roles/base/templates/syncHttpLogs.sh.j2 +++ b/roles/base/templates/syncHttpLogs.sh.j2 @@ -33,6 +33,11 @@ function syncHttpLogs { syncHttpLogs {{host}} {% endfor %} +## Sync up all internal proxies +{% for host in groups['proxies-internal'] %} +syncHttpLogs {{host}} +{% endfor %} + ## Sync up all staging proxies {% for host in groups['proxies-stg'] %} syncHttpLogs {{host}}