HomePhorge

(PUP-4334) Cherry pick fix for PUP-4046 to fix broken hiera_include
e5211fdee9d7Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4334) Cherry pick fix for PUP-4046 to fix broken hiera_include

The cherry picked commit in Puppet 4.0.0 is
706cec5a34e209c37431314839ed96bb360587d8

with the following comment:

(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

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb03302d561f7: Merge remote-tracking branch 'origin/3.8' into 3.x
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUe5211fdee9d7: (PUP-4334) Cherry pick fix for PUP-4046 to fix broken hiera_include (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Mar 29 2015, 3:53 AM