From 24be98dc0777350d3185ce870b6a7f489ad02e9c Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Tue, 12 Oct 2021 10:56:39 +0200 Subject: [PATCH] sysutils/puppet-agent: fix logformat --- .../opnsense/scripts/systemhealth/logformats/puppet_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysutils/puppet-agent/src/opnsense/scripts/systemhealth/logformats/puppet_agent.py b/sysutils/puppet-agent/src/opnsense/scripts/systemhealth/logformats/puppet_agent.py index a4013e9ed..7004c40d2 100755 --- a/sysutils/puppet-agent/src/opnsense/scripts/systemhealth/logformats/puppet_agent.py +++ b/sysutils/puppet-agent/src/opnsense/scripts/systemhealth/logformats/puppet_agent.py @@ -31,9 +31,9 @@ from . import BaseLogFormat puppet_timeformat = r'^(\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}\s+[-+]{1}\d{4}).*' -class TelegrafLogFormat(BaseLogFormat): +class PuppetLogFormat(BaseLogFormat): def __init__(self, filename): - super(TelegrafLogFormat, self).__init__(filename) + super(PuppetLogFormat, self).__init__(filename) self._priority = 100 def match(self, line):