[Puppet Users] Puppet Providers and Prefetching

Daysmen
Wed, 19 Mar 2014 17:17:00 -0000

Hi

I'm creating a puppet provider that manages the creation/removal and
modification of a node over restful api.

All the devices attributes can be retrieved in one call however because of
the nature of the code i have created  i cannot use self.instances and
self.prefetch.

Im using the flushing method as I need to consolidate all changes to as few
as calls to rest server as possible

Does any one know of a way to create a cache of the results obtained for
this device info call?

As stated above i cannot use the singleton methods as the code that sets up
the calls to the rest backend use instance methods


--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/3521d391-87b1-4905-9255-b083cdbd9938%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.