[PATCH 2/2] puppet: improve counting of successful runs
[email protected] Thu, 17 Mar 2016 09:59:34 +0100
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
From: Jan Synacek <[email protected]> --- scripts/services/puppet | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/services/puppet b/scripts/services/puppet index 305dfff..1b86ae7 100644 --- a/scripts/services/puppet +++ b/scripts/services/puppet @@ -66,6 +66,8 @@ while (defined($ThisLine = <STDIN>)) { } } elsif ($ThisLine =~ /Finished catalog run in [0-9]+\.[0-9]+ seconds/) { $SuccessfulRuns++; + } elsif ($ThisLine =~ /Applied catalog in [0-9]+\.[0-9]+ seconds/) { + $SuccessfulRuns++; } elsif ($ThisLine =~ /skipping run/) { $FailedRuns++; } elsif ($ThisLine =~ /(Did not receive certificate)/) { -- 2.7.2 ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140