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

PQL: Design a methodology for descending into hashes for facts and such

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 4.1.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Story Points:
      3

      Description

      Right now searching across structured facts with PDB involved matching the name and value, we should devise a way in PQL to do a search using leaf and value instead, sort of like this.

      networking.eth0.macaddress ~ '^aa:00:bb'

      This might involve some backend AST work to be done to support this also.

      This ticket is the design work, to decide exactly how the syntax would look like, then determine the work and tickets involved to implement it.

      If we can, I'd like to see us also use this same methodology for drilling into other hashes, such as resource parameters and such.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ken Ken Barber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support