... | ... | @@ -772,7 +772,7 @@ The currently known values are: `kvm`, `physical`, and `xenu`. |
|
|
|
|
|
This will list all hosts with the `roles::static_mirror` class:
|
|
|
|
|
|
curl -s -G http://localhost:8080/pdb/query/v4 --data-urlencode 'query=inventory[certname] { resources { type = "Class" and title = "Roles::Static_mirror" }} ' | jq -r .[].certname
|
|
|
curl -s -G http://localhost:8080/pdb/query/v4 --data-urlencode 'query=inventory[certname] { resources { type = "Class" and title = "Roles::Static_mirror" }} ' | jq -r ".[].certname"
|
|
|
|
|
|
This will show all hosts running Debian bookworm:
|
|
|
|
... | ... | |