diff options
author | Luke Kanies <luke@madstop.com> | 2008-11-10 16:00:38 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-11-11 12:53:36 -0800 |
commit | 99a0770a30c7c9a1349fd693cda31bdbf2717864 (patch) | |
tree | 7272e073772b2dc0610473877a352468f718d6e8 /lib/puppet/util/fact_store.rb | |
parent | fe0b818c411344da894dc8d26787db8602f68c7a (diff) | |
download | puppet-99a0770a30c7c9a1349fd693cda31bdbf2717864.tar.gz puppet-99a0770a30c7c9a1349fd693cda31bdbf2717864.tar.xz puppet-99a0770a30c7c9a1349fd693cda31bdbf2717864.zip |
Fixing a critical bug in the Cacher module.
Basically, the first generated value was always
considered expired the next time it was asked for.
The fix was to create an initial timestamp in the Cacher
module, thus providing a floor for validity.
This is definitely a murky bug, and is especially hard to
test.
Also refactoring the internals just a bit.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/util/fact_store.rb')
0 files changed, 0 insertions, 0 deletions