[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Matt Robinson matt at puppetlabs.com
Tue May 10 08:06:44 UTC 2011


The following commit has been merged in the experimental branch:
commit 923d613bb5d96b1898a718bc37842531124b9b89
Author: James Turnbull <james at lovedthanlost.net>
Date:   Thu Mar 3 06:57:17 2011 +1100

    Fixed #6555 - Ruby 1.9.x returning Invalid next (SyntaxError)
    
    The kick application has the option to ping hosts. On 1.9.x this
    code was returning "Invalid next". The next in this code has been
    replaced with an exit. Testing has confirmed this doesn't change the
    behavior of puppet kick.

diff --git a/lib/puppet/application/kick.rb b/lib/puppet/application/kick.rb
index 6041328..da93c01 100644
--- a/lib/puppet/application/kick.rb
+++ b/lib/puppet/application/kick.rb
@@ -245,7 +245,7 @@ License
       out = %x{ping -c 1 #{host}}
       unless $CHILD_STATUS == 0
         $stderr.print "Could not contact #{host}\n"
-        next
+        exit($CHILD_STATUS)
       end
     end
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list