dalen / puppet-puppetdbquery

Query functions for PuppetDB
Apache License 2.0
198 stars 71 forks source link

Support query resource based on type matching #108

Open af6140 opened 7 years ago

af6140 commented 7 years ago

Currently looks like the resource type need to be fixed, can not use matching ~ operator.

dalen commented 7 years ago

Can you post an example query you get issues with?

I'm not sure if you mean queries like ~resource[name] or resource[~name] or something else?

af6140 commented 7 years ago

Oh, i am using query_resources function, cannot figure out how to query resource use ~ operator for resource type