Class: Puppet::FileCollection
- Defined in:
- lib/vendor/puppet/file_collection.rb
Overview
This was a simple way to turn file names into singletons,
The theory was, like:
-
Turn filenames into singletons.
-
????
-
Huge memory savings!
In practice it used several MB more memory overall, and it cost more CPU time, and it added complexity to the code. Which was awesome.
So, I gutted it. It doesn’t do anything any more, but we retain the external form that people included so that they don’t explode so much.
This should be removed from the system after a graceful deprecation period, probably about the time that a version of Puppet containing this change is the last supported version. –daniel 2012-07-17
Defined Under Namespace
Modules: Lookup