[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.6-1-356-g5718585

James Turnbull james at lovedthanlost.net
Fri Jan 23 14:20:55 UTC 2009


The following commit has been merged in the master branch:
commit d4d3213a4a8bc7be93a0adb85bf29b5739c7a81d
Author: James Turnbull <james at lovedthanlost.net>
Date:   Wed Sep 10 13:48:52 2008 +1000

    Fixed debug messages in package type - thanks to Todd Zullinger for this fix

diff --git a/CHANGELOG b/CHANGELOG
index f63fe4c..7cd7d05 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,6 @@
 0.24.x
+    Fixed debug messages in package type - thanks to Todd Zullinger for this fix
+
     Updated Red Hat spec file
 
     Fixes #1455 - Adds HP-UX support for user type
diff --git a/lib/puppet/type/package.rb b/lib/puppet/type/package.rb
index f004f7c..0cea391 100644
--- a/lib/puppet/type/package.rb
+++ b/lib/puppet/type/package.rb
@@ -138,8 +138,8 @@ module Puppet
                             # that can't query versions.
                             return true
                         else
-                            self.debug "is is %s, latest %s is %s" %
-                                [is.inspect, @resource.name, @latest.inspect]
+                            self.debug "%s %s is installed, latest is %s" %
+                                [@resource.name, is.inspect, @latest.inspect]
                         end
                     when :absent
                         return true if is == :absent or is == :purged

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list