On Thu, Aug 20, 2015 at 6:16 PM, Andrew Hibbert <[email protected]> wrote: > Hi, > > I'm looking into hiera particularly the http backend > (https://github.com/crayfishx/hiera-http). > > I'm wandering when using hiera if a single lookup is done at the start of > the puppet run or if everytime a value needs to be looked up the file is > accesed or in this case the http api queried?
Hiera will pass the query to the backend on every lookup. In the particular case of hiera-http (since 1.3) you can enabling caching to reduce the number of HTTP API queries using the cache_timeout and cache_clean_interval flags. Regards Craig -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACxdKhG23q%2BeG0qzgUW1Rrx1kcrf93s4sGjBmJ5DdMO7nL0e7Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
