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

hiera_include() fails when compiling an environment catalog

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.6.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      2
    • Sprint:
      AO 2016-07-27, AO 2016-08-10

      Description

      Currently, the hiera_include() function fails if called during environment catalog compilation. Because the suggested way to use hiera_include() is to place it at topscope outside any node/site blocks, it will always be called for environment compilation and will fail when the expected key isn't found. Since hiera_include() doesn't actually make sense for the environment catalog and is unlikely to be configured, it will basically always fail. The function ought to noop during environment compilation, so as to allow users to adopt the direct change workflow without having to first modify how they classify their nodes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nick Nick Lewis
                QA Contact:
                Zach Reichert
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support