summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/autoload.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-05-17 16:54:06 -0500
committerJames Turnbull <james@lovedthanlost.net>2009-05-20 18:29:04 +1000
commit5f1c228767432591a7e4b77666e9b1c7d70a095c (patch)
tree17d23e81ce3918790e78d13c2dbdd485124bfa87 /lib/puppet/util/autoload.rb
parent047ab782aed5555a6812131acdba3925b1274a55 (diff)
downloadpuppet-5f1c228767432591a7e4b77666e9b1c7d70a095c.tar.gz
puppet-5f1c228767432591a7e4b77666e9b1c7d70a095c.tar.xz
puppet-5f1c228767432591a7e4b77666e9b1c7d70a095c.zip
Adding caching to the Environment class
Caching the module path (because we check which directories exist, and this method can get called often), and the complete list of modules. The cache ttl uses the filetimeout, which defaults to 15 seconds. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions