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

Luke Kanies luke at madstop.com
Fri Jan 23 14:21:23 UTC 2009


The following commit has been merged in the master branch:
commit 2bf0ba5651bfebf202bac5636063cece0208b667
Author: Luke Kanies <luke at madstop.com>
Date:   Wed Oct 8 22:10:26 2008 -0500

    Fixing a test that was failing because i-have-no-idea
    
    Signed-off-by: Luke Kanies <luke at madstop.com>

diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb
index d6de3e2..59f732d 100644
--- a/lib/puppet/util.rb
+++ b/lib/puppet/util.rb
@@ -227,7 +227,11 @@ module Util
             end
         else
             x = %x{which #{bin} 2>/dev/null}.chomp
-            return x
+            if x == ""
+                return nil
+            else
+                return x
+            end
         end
     end
     module_function :binary

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list