Jira (PDB-4684) Docs: Capitalize class name in example

4 views
Skip to first unread message

Mindy Moreland (Jira)

unread,
Apr 6, 2020, 1:35:03 PM4/6/20
to puppe...@googlegroups.com
Mindy Moreland created an issue
 
PuppetDB / Bug PDB-4684
Docs: Capitalize class name in example
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/04/06 10:34 AM
Priority: Normal Normal
Reporter: Mindy Moreland

Feedback from docs site: 

Url:
https://puppet.com/docs/puppetdb/5.2/api/query/examples-pql.html

Comment:
The example query under 'Fact and resource filtering for classes' needs its class title capitalised, I think, otherwise it won't return anything. For example, for the query 'inventory[certname] { resources

{ type = "Class" and title = "apache" }

}' , PuppetDB doesn't return anything, but 'inventory[certname] { resources

{ type = "Class" and title = "Apache" }

}' does give me a correct list of certnames. This is against PuppetDB 5.2.11.

I think the example under 'Profile querying' is correct.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Austin Blatt (Jira)

unread,
Jun 2, 2020, 2:26:03 PM6/2/20
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Epic Link: PDB-4759
Reply all
Reply to author
Forward
0 new messages