Issue #6907 has been updated by Stefan Schulte.
I'm naturally not against incremental improvement but the current fix contains a fundamental change: Without the fix you can define confines to say »don't pick me (the provider) if condition A and B are not true« and in the provider code I can take my conditions for granted. With the fix applied (correct me if I am wrong) puppet may pick you (the provider) even if not all confines are met in case puppet does not find any suitable one. And what bothers me is that the provider may now have to handle situations where the inital confines are not true. One example is prefetching but there are other possibilties (e.g. a confine `:exists => '/my/file'` which suddenly may not be true). Just wanted to make that clear. ---------------------------------------- Feature #6907: Ensure providers can be used in the same puppet run that their prerequisites are delivered in https://projects.puppetlabs.com/issues/6907 Author: Nigel Kersten Status: In Topic Branch Pending Review Priority: Urgent Assignee: Jacob Helwig Category: provider Target version: 2.7.x Affected Puppet version: Keywords: Branch: https://github.com/lak/puppet/tree/tickets/2.7.x/6907-pluginsync_and_providers This is possibly more accurately described as a collection of bug fixes, as we've aimed to fix this several times, however I'm characterizing this as a feature, and we're going to associate related bugs with it. Essentially we want to be able to use a provider in the same run that it's prerequisites (like :commands and paths) are delivered in. You should not have to run puppet twice to use a provider. We're aiming this at 2.6.x initially, but if it turns out that we need significant plumbing work to make this happen, we are re-targeting at Statler. -- 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.
