[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

Jesse Wolfe jes5199 at gmail.com
Wed Jul 14 10:35:24 UTC 2010


The following commit has been merged in the upstream branch:
commit edfcbf94cf44170f9aa8bcc8a330d323f0701abb
Author: Nick Lewis <nick at puppetlabs.com>
Date:   Fri Jun 25 11:18:13 2010 -0700

    [#3139] Fixed a problem with the value method for parameters
    
    The value method was failing to return any value in the case where
    the value was false.

diff --git a/lib/puppet/parameter.rb b/lib/puppet/parameter.rb
index abcd67d..3c20852 100644
--- a/lib/puppet/parameter.rb
+++ b/lib/puppet/parameter.rb
@@ -283,7 +283,7 @@ class Puppet::Parameter
     end
 
     def value
-        unmunge(@value) if @value
+        unmunge(@value) unless @value.nil?
     end
 
     # Store the value provided.  All of the checking should possibly be

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list