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

CapabilityFinder needs to look up capabilities by code_id

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.3.0
    • Component/s: Language
    • Labels:
      None
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      Part of new feature

      Description

      When we look up consumed resources in PuppetDB, we need to restrict the query by code_id to make sure we do not find the same capability produced in a previous, outdated version of the code as that would confuse us when the production of a resource is moved from one node to another.

      When Puppet::Resource::Catalog#resource uses the CapabilityFinder to look up consumed capabilities, it needs to pass code_id to it, and CapabilityFinder needs to add it to its PuppetDB query.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lutter David Lutterkort
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support