HomePhorge

(PUP-3268) Remove Puppet::Util::Cacher
7450723d13e1Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3268) Remove Puppet::Util::Cacher

This module was providing a single class helper method cached_attr()
which provided a memoized instance attribute with a ttl set in a class
instance variable. This was being used only by Puppet::Node::Environment
to memoize a given environmenet's module list with a ttl set to the
Puppet[:filetimeout]. Now that legacy environments have been removed, we
are no longer watching files, and the modules should be memoized for the
duration of the Environment's existence, so I'm removeing cached_attr
and replacing it with a normal reader method that memoizes in an
instance variable. The Cacher module is being removed because it is not
used anywhere else.

Details

Provenance
Josh Partlow <joshua.partlow@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb72809525768: (maint) Remove unnecessary Combined loader from module_tool_spec
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPU7450723d13e1: (PUP-3268) Remove Puppet::Util::Cacher (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Dec 4 2014, 9:41 PM