On Jan 24, 2011, at 8:57 AM, Peter Meier wrote: >> After doing some debugging, I see that even if I specify the >> --facts_termunus to be yaml, that puppet is still using active_record (I >> traced it through the indirector/indirection#find_in_cache method) to get my >> facts from stroredconfigs. Does ignorecache turn this behavor off? How does >> indirector caching work in puppet? Is there a document by any chance? > > I recently encountered that problem as well, while working on the clean > App. You need to additionally set: > Puppet::Node::Facts.cache_class = :yaml > > to stop puppet from querying storedconfigs for cached facts.
You should also be able to just set it to nil, which I think is a better approach here (although there are some 0.25.x versions of Puppet for which this doesn't work). -- There are three social classes in America: upper middle class, middle class, and lower middle class. --Judith Martin --------------------------------------------------------------------- Luke Kanies -|- http://puppetlabs.com -|- +1(615)594-8199 -- 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.
