Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCUMENT-897

puppet query url parameter may not have path at url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Done
    • Component/s: PuppetDB
    • Labels:
      None
    • Template:
    • QA Risk Assessment:
      Needs Assessment

      Description

      The PQL Query Language documentation provides wrong examples on how to use url parameter. e.g.

      puppet query '<PQL query>' \
        --urls http://puppetdb.example.com:8080/pdb/query/v4 

      This example is wrong, as you may not provide the path. The correct example is:

       puppet query '<PQL query>' \ --urls http://puppetdb.example.com:8080

      This documentation error can be found at at least two locations:

      https://puppet.com/docs/puppetdb/5.2/api/query/tutorial-pql.html

      https://puppet.com/docs/puppetdb/5.2/api/query/v4/pql.html

       

        Attachments

          Activity

            People

            Assignee:
            zachary.kent Zachary Kent
            Reporter:
            malfke Martin Alfke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support