To query PuppetDB for a specific defined type, you...
# puppet
c
To query PuppetDB for a specific defined type, you use the
resources
endpoint and filter by the resource
type
. Defined types, once declared, behave like any other resource type in PuppetDB and can be queried using Puppet Query Language (PQL) or the API.