HomePhorge

Making the Functions module more resilient
baf32de1dcdaUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Making the Functions module more resilient

We were previously storing the module name with
the environment instances as the key, which meant
if the environment instances were removed, we could
never get those modules again. Given that the
functions weren't reloaded, this meant the functions
were gone if we ever reloaded the environment.

This makes the Functions environment module resilient across
environment reloads, and it also makes the method work correctly
when handed either an environment or a string.

Signed-off-by: Luke Kanies <luke@puppetlabs.com>
Reviewed-by: Nick Lewis <nick@puppetlabs.com>

Details

Provenance
Luke Kanies <luke@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU2431bb3fc8fb: Cleaning up indentation in versoncmp function
Branches
Unknown
Tags
Unknown

Event Timeline

Luke Kanies <luke@puppetlabs.com> committed rPUbaf32de1dcda: Making the Functions module more resilient (authored by Luke Kanies <luke@puppetlabs.com>).Jul 15 2011, 8:52 PM