On Wednesday, January 8, 2014 12:31:53 PM UTC-6, Trevor Vaughan wrote: > > Hi John, > > You just noticed that I never run in daemon mode :-). I probably need to > add a reset to the initialized value in the @@demo_classvars to handle > daemon mode because, yes, they will probably persist between runs. > > I believe that, during testing, I found that, if any resource in the chain > died, the flush would not be called but I'm not quite remembering. I tend > to only use this when I'm not inter-weaving a lot of resources. I do know > that if a dependency fails, then the entire chain fails, but I'm not sure > about a random error in the chain. > >
Ok. The follow up, then, is where reset code would reside. My first thought was that resetting the long-lived state should be part of the final flush, but if that might not always be triggered then it's not suitable for the purpose. John -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/07b4580d-fdf8-4e56-ac8a-6c09c10ccf9f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.