Luke Kanies wrote: > Hi all, > > I'm trying to figure out which signal should do what with ticket > #2239, or if we should even keep the existing behaviour. > > If you send a signal to puppetd when it's in the middle of a > transaction, what behaviour do you expect? > > Do you expect it to exit as soon as it is safe? (I.e., after it syncs > the current resource.) Or after it finishes the transaction? > > Currently it exits after it finishes the transaction, but I'm thinking > this is just the wrong behaviour -- it should exit as quickly as > possible. > > What do you think?
The standard-case is probably TERM on shutdown. puppet should react fast to avoid stalling the shutdown and being KILLed in mid-work. The other cases that come to my mind are restarting puppetd from within a transaction and aborting a --test run from the commandline with ^C. The former probably should wait until the end of the (presumably bootstrap) transaction, while the latter should abort immediately after the current resource (and say so, the current message on ^C is not very descriptive). Regards, DavidS --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
