Hi,

We have a pull request on the Puppet master branch which provides caching
support for directory environments, and which we think addresses the
slowdowns people are seeing using directory environments with their
production instances.

https://github.com/puppetlabs/puppet/pull/2566

This PR relies on code slated for 3.6.0 (current master head), so you can't
simply apply the patch to a 3.5.1 install.  If you are comfortable doing a
test run from a source checkout of the PR, it would be great to hear if
this patch speeds up a run with directory environments enabled.

There should be instructions at the bottom of the PR for how to get the
branch (There is a link: 'you can also merge branches on the command
line').  If you don't see that link, this is the important part:

git checkout -b hlindberg-pup-1699_cache-environments master
git pull [email protected]:hlindberg/puppet.git pup-1699_cache-environments

Don't do this unless you know how to run Puppet from source.

There is a five second cache timeout set by default.  You can adjust this
by adding an 'environment_timeout' setting in your directory environment's
environment.conf file.  The possible values are '0' (no cacheing),
'unlimited' (cache forever), or a time value such as '5s', '5m', '5h', '5d'
and so forth.

Thanks!


-- 
Josh Partlow
[email protected]
Developer, Puppet Labs

Join us at PuppetConf 2014, September 22-24 in San Francisco -
http://puppetconf.com
Register by May 30th to take advantage of the Early Adopter discount —save
$349!

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CADxAQ5rqRf5JdZEfXvc6wWCnqoyPQFZ-da9O79S4C%3DfPyCFkvw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to