Issue #7713 has been updated by Roy Nielsen.
Sounds perfect. Besides services, I've got a package (pkgdmg provider) that is freezing on a postflight script, and when this postflight script freezes, puppet hangs and the problem doesn't clear until a reboot. If it tries to re-install the package, it hangs again. I'm sure other resources (besides exec & yum) could use a timeout metaparameter as well. ---------------------------------------- Bug #7713: puppet client hangs while stopping service hang https://projects.puppetlabs.com/issues/7713#change-72441 Author: Peter Meier Status: Needs More Information Priority: Normal Assignee: Peter Meier Category: service Target version: Affected Puppet version: 2.6.8 Keywords: service, timeout Branch: I had some service (iscsid) which hung for ever for some reason (missing config file), when stopping it via `service iscsid stop`. As puppet should stop that service, puppet hung as well. Over days... I think it's pretty reasonable to expect services to be stopped after some time (like 10 minutes?) and if they didn't return so far, give up (and kill the service process) and mark the service resource as failed. Additionally an additional parameter could be added to the service type: `command_timeout` which could tweak the default of how long puppet will wait to get some feedback from the start, stop, status command. -- 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://projects.puppetlabs.com/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.
