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

James Turnbull james at lovedthanlost.net
Fri Jan 23 14:20:56 UTC 2009


The following commit has been merged in the master branch:
commit 923fd89a2a5d52a6ec9abeb02f6edc01c721fd91
Author: James Turnbull <james at lovedthanlost.net>
Date:   Sat Sep 13 15:11:17 2008 +1000

    Fixed issues with file descriptors leaking into subprocesses

diff --git a/CHANGELOG b/CHANGELOG
index fd65d05..441e68e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,8 +1,16 @@
 0.24.x
+    Fixed issues with file descriptors leaking into subprocesses
+
+    Fixed #1568 - createpackage.sh
+
+    Fixed #1571 - Puppet::Util::binary returns incorrect results
+
+    Fixed #1553 - Puppet and Facter cannot both install the plist module into two different locations
+
+    Adjusted hpuxuseradd user provider to confine to HP-UX and fixed HP-UX user provider path regression
+
     Fixed debug messages in package type - thanks to Todd Zullinger for this fix
     
-    Adjusted hpuxuseradd user provider to confine to HP-UX
-
     Fixed #1566 - changed password property of the user type
 
     Fixed debug messages in package type
diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb
index ff9858e..d6de3e2 100644
--- a/lib/puppet/util.rb
+++ b/lib/puppet/util.rb
@@ -316,6 +316,7 @@ module Util
                 $stdin.reopen("/dev/null")
                 $stdout.reopen(output_file)
                 $stderr.reopen(output_file)
+                3.upto(256){|fd| IO::new(fd).close rescue nil} 
                 if arguments[:gid]
                     Process.egid = arguments[:gid]
                     Process.gid = arguments[:gid] unless @@os == "Darwin"

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list