From edfcbf94cf44170f9aa8bcc8a330d323f0701abb Mon Sep 17 00:00:00 2001 From: Nick Lewis Date: Fri, 25 Jun 2010 11:18:13 -0700 Subject: [#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. --- lib/puppet/parameter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet') diff --git a/lib/puppet/parameter.rb b/lib/puppet/parameter.rb index abcd67dbc..3c208527f 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 -- cgit