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

Do not report errors in Hiera config as errors in Puppet manifest

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.10.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-03-22, PDE 2017-04-05
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      Error messages from Hiera 5 have been improved to better explain the issue and to enable locating the source of the problem. As an example, an error or warning caused by content in a hiera.yaml was earlier reported with the location in a puppet manifest that caused a lookup (typically via APL) to take place. This was very confusing as the reported location almost always had nothing to do with the reported problem. Now such errors are instead reported as errors located in the hiera.yaml.
      Show
      Error messages from Hiera 5 have been improved to better explain the issue and to enable locating the source of the problem. As an example, an error or warning caused by content in a hiera.yaml was earlier reported with the location in a puppet manifest that caused a lookup (typically via APL) to take place. This was very confusing as the reported location almost always had nothing to do with the reported problem. Now such errors are instead reported as errors located in the hiera.yaml.
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      covered by unit tests; error messaging

      Description

      The error in PUP-7171 where a variable in hiera.yaml was not found was reported as an error in a seemingly random manifest location (a class where some parameter lookup happened).

      It would be useful if errors like this were actually reported as errors in hiera.yaml, not as manifest errors.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mhoermann Matthias Hörmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support