[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. puppet-0.24.5-rc3-1601-gf8c1b08

James Turnbull james at lovedthanlost.net
Fri Jan 15 09:07:44 UTC 2010


The following commit has been merged in the upstream branch:
commit 0f63a54b710e3a3390240404565515e362ce78d1
Author: Jesse Wolfe <jes5199 at gmail.com>
Date:   Mon Dec 14 16:41:17 2009 -0800

    2877 race condition in webrick
    
    Make sure that we don't try to do anything to webrick until it has
    really started.
    
    Signed-off-by: Jesse Wolfe <jes5199 at gmail.com>

diff --git a/lib/puppet/network/http/webrick.rb b/lib/puppet/network/http/webrick.rb
index bf4bf88..cea7631 100644
--- a/lib/puppet/network/http/webrick.rb
+++ b/lib/puppet/network/http/webrick.rb
@@ -44,7 +44,8 @@ class Puppet::Network::HTTP::WEBrick
                     sock.accept
                     @server.run(sock)
                 }
-           }
+            }
+            sleep 0.1 until @server.status == :Running
         end
     end
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list