diff manifests/templates.pp @ 345:bad68f1b6467

Add updated Dovecot script to Logwatch This now handles "logged out" lines
author IBBoard <dev@ibboard.co.uk>
date Mon, 20 Jul 2020 09:56:09 +0100
parents 445aaaf228cc
children 61be075c5a68
line wrap: on
line diff
--- a/manifests/templates.pp	Sun Jul 12 19:54:02 2020 +0100
+++ b/manifests/templates.pp	Mon Jul 20 09:56:09 2020 +0100
@@ -302,6 +302,8 @@
 		'/etc/logwatch/conf/',
 		'/etc/logwatch/conf/logfiles/',
 		'/etc/logwatch/conf/services/',
+		'/etc/logwatch/scripts/',
+		'/etc/logwatch/scripts/services/',
 	]
 	file { $logwatch_dirs:
 		ensure => directory,
@@ -324,6 +326,9 @@
 	file { '/etc/logwatch/conf/services/php.conf':
 		source => 'puppet:///common/logwatch/services_php.conf',
 	}
+	file { '/etc/logwatch/scripts/services/dovecot':
+		source => 'puppet:///common/logwatch/dovecot',
+	}
 }
 
 #Our web server with our configs, not just a stock one