HomePhorge

Optimize calls for operating system version
b708a415dd7cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Optimize calls for operating system version

Previously, Facter.value() was being called every time the operating
system version was required in the directoryservice user provider.
This commit creates a method on the instance of the class that memoizes
the lookup for the operatingsystem version.

Details

Provenance
Gary Larizza <gary@puppetlabs.com>Authored on
Jeff McCune <jeff@puppetlabs.com>Committed on Dec 5 2012, 12:49 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU6730edb99ad7: Update PUPPETVERSION to 3.0.2-rc1
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff McCune <jeff@puppetlabs.com> committed rPUb708a415dd7c: Optimize calls for operating system version (authored by Gary Larizza <gary@puppetlabs.com>).Dec 5 2012, 12:49 AM