File: example.yaml

package info (click to toggle)
puppetdb 8.8.1-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 19,692 kB
  • sloc: javascript: 23,285; ruby: 5,620; sh: 3,457; python: 389; xml: 114; makefile: 38
file content (17 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Example
#  name: my custom call name, will be shown in the report
#  path: path without the host. The host is set in cli as an option
#  query: query should be hash for POST and string for GET
#  method: GET/POST
#  headers: any custom headers that will be sent with the request
---
- path: "/pdb/query/v4/facts"
  limit: 100
  offset: 1
  method: GET
  headers: ''
- path: "/pdb/query/v4/facts"
  query: ["~", "certname", "host"]
  method: POST
  headers: {content-type: application/json}
  alias: example 2