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

facts provided in a file cannot be used for classification

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 7.13.0, PUP 6.26.0
    • None
    • Night's Watch
    • 2
    • NW - 2021-10-20, NW - 2021-11-03, NW - 2021-11-17
    • Needs Assessment
    • Bug Fix
    • Hide
      Fixed a bug where facts provided in a file weren't being merged with the facts used for classification. This is because we collected and merged the said facts after the classification happened.
      To fix this, we ensured that we resolve the facts that will be used for classification before the node request.
      Show
      Fixed a bug where facts provided in a file weren't being merged with the facts used for classification. This is because we collected and merged the said facts after the classification happened. To fix this, we ensured that we resolve the facts that will be used for classification before the node request.
    • Needs Assessment

    Description

      If a facts file is provided to puppet lookup, then its contents are merged to the node's facts after classification, which means the lookup may be occur in the wrong environment.

      It would be more consistent if lookup retrieved facts using the facts terminus, merged the facts file, and submitted the facts in the node request.

      Attachments

        Issue Links

          Activity

            People

              victor.bobosila Victor Bobosila
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support