changeset 379:63adae1a374a

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
author IBBoard <dev@ibboard.co.uk>
date Sat, 16 Oct 2021 15:41:32 +0100
parents d539c21143bb
children 21686c6a9ac4
files manifests/templates.pp
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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