Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-4474

Complete the lookup, "data in modules" feature

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.3.0
    • Component/s: None
    • Labels:
      None
    • Epic Name:
      Lookup 4x
    • Template:
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      The 'data in modules' is a new feature (partially available in earlier 4.x releases) that makes it possible to specify data in environments and modules without requiring that they all share the same hierarchy. Data can be defined using functions or via new Hiera 4 data providers.
      Show
      The 'data in modules' is a new feature (partially available in earlier 4.x releases) that makes it possible to specify data in environments and modules without requiring that they all share the same hierarchy. Data can be defined using functions or via new Hiera 4 data providers.

      Description

      In Puppet 4.0.0 the basic features for supplying data for explicit and automatic lookup were introduced. Targeting Puppet 4.2.0 the basic set of features should be completed with the following functionality:

      • hiera data should be supported in modules and environments. The data structure and data files should be fully backwards compatible
      • hiera configuration should support using the same backend more than once - this potentially includes making modifications that may require small changes to the current hiera.yaml configuration file to be used inside modules and environments.
      • the lookup should be able to explain decision leading to a found value (or no found value)
      • a command line utility should be able to do a correct lookup across all data providers (the existing hiera command line tool cannot do this)

      The details of these features are described by tickets individually in this epic.

      This epic supplants the earlier PUP-42 epic as this represents a fresh approach and PUP-42 led to the introduction of the binder and several of this issues in that epic are stale / irrelevant.

      The fresh approach is to build a hiera-compatible implementation based on new APIs. This logic will reside in the puppet code base and be based on the data-provider API introduced in Puppet 4.0.0.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  henrik.lindberg Henrik Lindberg
                • Votes:
                  7 Vote for this issue
                  Watchers:
                  22 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: