HomePhorge

(PUP-4046) Fix missing requirement and system private loaders
706cec5a34e2Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4046) Fix missing requirement and system private loaders

Before this commit it was not possible to call hiera_include
because of two problems:

  • a missing requirement on the helper hiera/puppet_function
  • the puppet system loader had no private loader and could not call to other puppet functions (i.e. the include() function).

This went undetected because of poor test covarage of hiera
related functionality.

The fix for this adds the requirement and ensures that the "puppet
system loader" (loading from puppet itself) has self as private loader.
(This because the concept of having functions that can only be called
from other functons in puppet does not exist; i.e. "puppet private".
This is not needed since puppet itself can always invoke common private
logic via other means).

Details

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU706cec5a34e2: (PUP-4046) Fix missing requirement and system private loaders (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Mar 5 2015, 2:33 AM