s/fairly/fairly easily/ On Fri, May 25, 2012 at 9:33 AM, Chris Price <[email protected]> wrote:
> On Thu, May 24, 2012 at 11:27 PM, Jeff Weiss <[email protected]> > wrote: > > Facter itself will not use the cache. If you have an application that >> needs facts and needs them quickly, you may read the yaml file on disk. > > > On Fri, May 25, 2012 at 3:38 AM, Ken Barber <[email protected]> wrote: > > And from memory PE already does this. > > > > I mean a cron job with: >> >> facter -y > /var/lib/facter/cache.yaml >> > > Based on past experiences I am always a little unnerved by the idea of > using a file on disk as "API". It is revealing an implementation detail of > your program that makes it much harder to make changes in the future > without breaking backwards compatibility. That concern, combined with > Ken's cron job snippet, gives me the inclination to say that people can > fairly achieve what you are describing without us formally committing to > that as an "API"... and that seems like a win to me. > > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
