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

implicit relationships for self-referencing entities on certname

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Template:
    • Epic Link:

      Description

      This is probably worth some discussion, but it would be cool if PQL could express "give me all ipaddress facts for nodes with operatingsystem fact equal to debian"

      facts[name, value]{name = "ipaddress" and facts{name = "operatingsystem" and value = "Debian"}}
      

      the facts usecase could be obsoleted by the proposed inventory endpoint, but the same concept could apply to resources and other endpoints. It seems like certname is the most sensible field to relate an entity to itself.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              wyatt Wyatt Alt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support