[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, squeeze-2.6.2, updated. debian/2.6.2-2-1-g1a1f3a0

Micah Anderson micah at riseup.net
Mon Nov 29 16:49:37 UTC 2010


The following commit has been merged in the squeeze-2.6.2 branch:
commit 1a1f3a08f16d84726de181bb3ea8582cb2d702ca
Author: Micah Anderson <micah at riseup.net>
Date:   Mon Nov 29 11:41:56 2010 -0500

    add patch to fix puppet-master logcheck rule, fixes part of #602336

diff --git a/debian/changelog b/debian/changelog
index 87def50..3737f49 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ puppet (2.6.2-2) unstable; urgency=low
   * Add missing Suggests on ruby libraries needed for storedconfigs
   * Add missing var/lib/puppet/client_yaml/catalog in 
     puppet-common.dirs (Closes: #557769)
+  * Patch ext/logcheck/puppet to handle new puppet-master 
+    Compiled log lines (Closes: #602336)
 
  -- Micah Anderson <micah at debian.org>  Mon, 01 Nov 2010 19:21:55 -0400
 
diff --git a/debian/patches/fix_logcheck b/debian/patches/fix_logcheck
new file mode 100644
index 0000000..f7b3c53
--- /dev/null
+++ b/debian/patches/fix_logcheck
@@ -0,0 +1,10 @@
+--- a/ext/logcheck/puppet
++++ b/ext/logcheck/puppet
+@@ -1,6 +1,6 @@
+ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: (Handled resources in|Resource comparison took|Searched for (host|resources|resource params and tags) in) [0-9.]+ seconds
+ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Starting Puppet server version [.0-9]+$
+-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Compiled catalog for [._[:alnum:]-]+ in [.0-9]+ seconds$
++^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Compiled catalog for [._[:alnum:]-]+ in environment [._[:alnum:]-]+ in [.[:digit:]]+ seconds$
+ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Caught TERM; shutting down$
+ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Shutting down$
+ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-agent\[[0-9]+\]: Starting Puppet client version [.0-9]+$
diff --git a/debian/patches/series b/debian/patches/series
index a0e7e5e..8c9c9bd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+fix_logcheck
 debianize_apache2.conf

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list