On Jul 23, 2009, at 11:08 PM, David Schmitt wrote: > > Luke Kanies wrote: >>> 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). >> >> >> Should we just delay restarts on HUPs but not on INT or KILL? > > ... TERM. It seems so. > >> Because I am reminded now that this 'don't restart mid transaction' >> is >> exactly why we have the current behaviour. > > The problem remains how to distinguish a "/etc/init.d/puppet stop" > from > init on shutdown and a self-"/etc/init.d/puppet stop" from within a > bootstrap transaction.
I think it's really about HUP vs. the rest - HUP waits for the transaction to end, the rest don't. -- A conservative is a man who believes that nothing should be done for the first time. --Alfred E. Wiggam --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
