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

Resource Collectors cannot use resource references in search expressions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.0.0
    • Fix Version/s: PUP 4.3.2
    • Component/s: Compiler
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2016-01-13
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Puppet 4.0 introduced a regression where resource collectors using resource references would produce an error. This fixes that regression.

      Description

      In Puppet 4, resource collectors cannot use resource references in the search expression. This is an ability that did work in Puppet 3 and is currently in the documentation for Puppet 4.

      The following code in Puppet,

      File<| notify == Service['foo'] |>
      

      produces the error,

      Error: Evaluation Error: Error while evaluating a Virtual Query, Cannot transform object of class Puppet::Pops::Model::AccessExpression at /private/tmp/collection.pp:1:1 on node tom-mbp

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  tom Thomas Linkin
                  QA Contact:
                  Sean Griffin
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: