# HG changeset patch # User IBBoard # Date 1634395292 -3600 # Node ID 63adae1a374a3c2b4e32003c2b948af52499df73 # Parent d539c21143bb3afa773bced9f877e6601626ce7f Fix and expand PHP logwatch config * PHP-FPM logs (or newer PHP?) are formatted slightly differently * Added separate "service" to summarise contact form anti-spam diff -r d539c21143bb -r 63adae1a374a manifests/templates.pp --- a/manifests/templates.pp Wed Sep 29 20:25:44 2021 +0100 +++ b/manifests/templates.pp Sat Oct 16 15:41:32 2021 +0100 @@ -325,6 +325,9 @@ file { '/etc/logwatch/conf/services/php.conf': source => 'puppet:///common/logwatch/services_php.conf', } + file { '/etc/logwatch/conf/services/contact-form.conf': + source => 'puppet:///common/logwatch/services_contact-form.conf', + } file { '/etc/logwatch/scripts/services/dovecot': source => 'puppet:///common/logwatch/dovecot', } @@ -334,6 +337,12 @@ file { '/etc/logwatch/scripts/services/systemd': source => 'puppet:///common/logwatch/systemd', } + file { '/etc/logwatch/scripts/services/php': + source => 'puppet:///common/logwatch/php', + } + file { '/etc/logwatch/scripts/services/contact-form': + source => 'puppet:///common/logwatch/contact-form', + } } #Our web server with our configs, not just a stock one