On 2013-16-09 13:48, Andy Parker wrote:
The problem with this picture for being able to batch operations together, is that everything turns into calls on the Puppet::Type instance, which then makes all of the individual calls to the provider. To batch, we need to group resources together and then give the groups to the provider. So the basic flow would look more like this:
Do you see an approach with a start/stop batch in the provider as doable? I.e. "start batch" operation sets it in "recording mode" until an "end batch". At that point it figures out what needs to be done.
Is the logic too complex for that? -- 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 post to this group, send email to puppet-dev@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-dev. For more options, visit https://groups.google.com/groups/opt_out.