[PDB-2366] PQL: Implement a tutorial, and potentially create command line examples in docs for PQL Created: 2016/01/28 Updated: 2016/10/05 Resolved: 2016/03/07
|Fix Version/s:||PDB 4.0.0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Epic Link:||PQL Phase 1|
Right now we don't have a good tutorial for PQL, we should create one (much like the AST tutorial.md). This should also contain CLI examples if possible, right now we don't ship the CLI but we will soon, I presume ... however PE will not have the CLI shipped as part of Burnside, so we'll have to consider this also.
|Comment by Melinda Campbell [ 2016/02/24 ]|
Ken Barber I'm very curious what you're thinking for CLI implementation. The Orchestrator CLI will likely want to run jobs against a PQL query. Any chance we can talk about this soon? See https://tickets.puppetlabs.com/browse/ORCH-1024
|Comment by Melinda Campbell [ 2016/03/07 ]|
Ken Barber Is there a link to the tutorial?
|Comment by Peter Souter [ 2016/10/05 ]|
Melinda Campbell I thought the same thing, it's here https://docs.puppet.com/puppetdb/4.2/api/query/tutorial-pql.html#querying-with-the-puppetdb-cli for reference
|Comment by Melinda Campbell [ 2016/10/05 ]|
Thanks Peter Souter! We ended up working with Ken and are shipping the Orchestrator's PQL query flag with Davis! And along with that, we're shipping some improved PQL docs.