Issue #3946 has been updated by Trevor Vaughan. Affected Puppet version changed from 0.25.4 to 3.2.3
This is still an issue and is now being found by multiple users as time moves on. Posting this for reference https://groups.google.com/forum/#!topic/puppet-dev/Iqs5jEGfu_0 And yes, I would love to have it too. Right now I'm resorting to horrible hacks by counting resources. However, the BIGGEST feature that I would like to see is the ability to have two different finalize class methods. One if all parents in the tree succeeded and one if they failed. ---------------------------------------- Feature #3946: providers should have a finalize class method https://projects.puppetlabs.com/issues/3946#change-94746 * Author: Dan Bode * Status: Accepted * Priority: Normal * Assignee: * Category: plumbing * Target version: * Affected Puppet version: 3.2.3 * Keywords: * Branch: ---------------------------------------- For providers that serve as a proxy, it makes sense to open all connections and set up all dependencies in the self.prefetch method. This requires an additional method that is called once per class instance where these connections can be closed. Something like self.finalize (borrowing from Java terminology) -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
