From 05ab126f41510fb0673ecb0f3b0683180529a543 Mon Sep 17 00:00:00 2001 From: Xavier MARCELET Date: Thu, 26 Aug 2021 12:36:07 +0200 Subject: [PATCH] fix loghost template --- jobs/loghost_concentrator/templates/rsyslog-loghost.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/loghost_concentrator/templates/rsyslog-loghost.conf.erb b/jobs/loghost_concentrator/templates/rsyslog-loghost.conf.erb index 681b016..d441361 100644 --- a/jobs/loghost_concentrator/templates/rsyslog-loghost.conf.erb +++ b/jobs/loghost_concentrator/templates/rsyslog-loghost.conf.erb @@ -63,7 +63,7 @@ if ($structured-data contains "instance@47450") then { action(type="omfile" dynaFile="ParsedOutputFile" dirOwner="vcap" fileOwner="vcap" dirGroup="vcap" fileGroup="vcap" fileCreateMode="0640" dirCreateMode="0750") # dupplicate output to local file for long-term logs - <% if p('loghost_concentrator.syslog.longterm-jobs').each do |conf| %> + <% p('loghost_concentrator.syslog.longterm-jobs').each do |conf| %> if ($.deployment == "<%= conf['deployment'] %>") and ($.group == "<%= conf['job'] %>") then { action(type="omfile" dynaFile="ParsedOutputFileLT" dirOwner="vcap" fileOwner="vcap" dirGroup="vcap" fileGroup="vcap" fileCreateMode="0640" dirCreateMode="0750") }