Issue #2211 has been updated by John Florian.
Luke Kanies wrote: > This is, um, amazing. Very well done in tracking that down. You can blame my gifted boss for that one. :-) I wish I could take credit for it though. It was really fun when my light bulb came on after he explained to me what was happening. > What's a reasonable fix? Do we have to switch Facter.exec to use a fork/exec > explicitly so that can always get the child process IDs? I think that's exactly what it needs. I've been trying to come up with a patch since this is a blocker for my own project which will most likely be released before 0.25 gets out (and Fedora catches up). As an aside, any idea when 0.25 will be released? Since this is my first swim in Ruby waters, I've had to do lots of reading. After finding this nice table: http://whynotwiki.com/Ruby_/_Process_management#How_do_I_execute_an_external_program.3F I concluded that popen might work best here so that we can get the stdout and the PID and then return both. Do we need to capture stderr too? ---------------------------------------- Bug #2211: puppet won't install packages if network interface does not have an IP address bound http://projects.reductivelabs.com/issues/2211 Author: John Florian Status: Accepted Priority: High Assigned to: Luke Kanies Category: Target version: 0.25.0 Complexity: Unknown Affected version: 0.24.8 Keywords: It is no longer possible to have puppet install packages via yum/rpm if the network interface is not bound to an IP address. Our use case requires using puppet in the non-daemon mode and this is possible for us because the system will have all necessary manifests and other necessary files locally. This worked just fine with 0.24.6 on Fedora 10, but began failing upon the upgrade to 0.24.8. See the attachments for failure messages and a code diff that seems to have introduced the regression. If I revert this one change, things work nicely once again. Looks like a very simple fix if it weren't for the ominous looking comment in the code. :-) -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
