Issue #6907 has been updated by Luke Kanies.
Matthias Pigulla wrote: > At the risk of adding noise, I'd like to ask if Luke's patch aims at the > problem outlined in [comment 4](#note-4) to [comment 6](#note-6). > > Probably I am missing the big picture, but AFAIK that has nothing to do with > downloading providers/using pluginsync. Instead Stefan and I would like to be > able to use a provider (that might already have been downloaded in the past) > in the same run as installing its commands. The short answer is yes, my patch fixes those issues. It's being summarized as a pluginsync problem, because we're expecting you to pluginsync a provider down, install the commands, and use it, all within the same run. My patch (and the better fix Jacob is working on) fix that case, which means they also fix the simpler case of installing the commands and using the provider at the same time. > There are two other issues #10882 and #10440 where we worked around the issue > by making the commands optional. This cannot be the right solution however - > instead of porting this fixing pattern everywhere there must be a more > centralized approach which at least I was expecting to come up in this case. > > Can someone please clarify on this? If I am in the wrong case here, I'd be > glad to open another one for it. This is the right case. It might be worth testing that my fix actually works for you, but you could also wait until Jacob's fix is ready. ---------------------------------------- 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.
