Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-1064

Extract fails on a subexpression with two items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDB 3.0.0
    • Fix Version/s: PDB 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Using a top-level extract with two items in it's sub expression fails:

      ["extract", ["certname", "hash"]
        ["not" ["=" "certname" "foo.com"]]]
      

      The top-level extract is being interpreted as a subquery.

        Attachments

          Activity

            People

            Assignee:
            ryan.senior Ryan Senior
            Reporter:
            ryan.senior Ryan Senior
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support