summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reference/configuration.rb
diff options
context:
space:
mode:
authorduritong <peter.meier@immerda.ch>2008-10-10 16:15:59 +0200
committerduritong <peter.meier@immerda.ch>2008-10-10 16:15:59 +0200
commit65eafb7c01e6b4c003066cf7c6dceb5910e91950 (patch)
treec87c44c8c454f9905f8349437734db51a40eecf1 /lib/puppet/reference/configuration.rb
parenteff6ce0b5e83ed73b8e2bbe3ddd68cf4cd77caeb (diff)
downloadpuppet-65eafb7c01e6b4c003066cf7c6dceb5910e91950.tar.gz
puppet-65eafb7c01e6b4c003066cf7c6dceb5910e91950.tar.xz
puppet-65eafb7c01e6b4c003066cf7c6dceb5910e91950.zip
lazy load latest package definitions with yumhelper 2.2
merge commit to 0.24x, original commit: I could observe that yumhelper.py can run quite some time and use quite a lot of memory (up to 100MB!) if you're using many repositories. As the yumhelper is only needed if you use latest as a ensure-keyword it makes no sense for people like me letting puppet fetch these details always, if you're never going to use latest. => lazy loading. After discussion on the list, this is the new version for lazy loading yum latest package versions. It is implemented mainly in the way that Luke proposed. However it stores the latest informations in the variable latest_info so the latest method didn't get too hackish and could nearly be left like it was before.
Diffstat (limited to 'lib/puppet/reference/configuration.rb')
0 files changed, 0 insertions, 0 deletions