Revision: 71
http://logwatch.svn.sourceforge.net/logwatch/?rev=71&view=rev
Author: opoplawski
Date: 2011-11-18 16:52:21 +0000 (Fri, 18 Nov 2011)
Log Message:
-----------
Handle puppet filebucketed files
Modified Paths:
--------------
scripts/services/puppet
Modified: scripts/services/puppet
===================================================================
--- scripts/services/puppet 2011-11-17 17:11:57 UTC (rev 70)
+++ scripts/services/puppet 2011-11-18 16:52:21 UTC (rev 71)
@@ -50,7 +50,8 @@
($ThisLine =~ /Starting catalog run/) or
($ThisLine =~ /Applying configuration version/) or
($ThisLine =~ /Loading facts in/) or
- ($ThisLine =~ /Retrieving plugin/)
+ ($ThisLine =~ /Retrieving plugin/) or
+ ($ThisLine =~ /FileBucket adding/)
) {
# Ignore
} elsif (($reason) = ($ThisLine =~ /Could not retrieve catalog from remote server: (.*)/)) {
@@ -75,6 +76,8 @@
} elsif ($ThisLine =~ /File\[.+\].+removed/) {
$ThisLine =~ /File\[(.+)\].+removed/;
$RemovedFiles{$1}++;
+ } elsif (($fileinfo) = ($ThisLine =~ /Filebucketed (.*)/)) {
+ $FileBucketed{$1}++;
} elsif (
($ThisLine =~ /Failed to retrieve current state of resource/) or
($ThisLine =~ /Package.+ensure.+Could not find package/) or
@@ -149,6 +152,13 @@
}
}
+if (keys %FileBucketed and $Detail >= 5) {
+ print "\nFileBucketed files:\n";
+ foreach $ThisOne (keys %FileBucketed) {
+ print " $ThisOne\n";
+ }
+}
+
if (keys %InstalledPackages) {
print "\nInstalled packages:\n";
foreach $ThisOne (keys %InstalledPackages) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.