Issue #16240 has been updated by Nick Fagerlund.

Subject changed from Class titles get inappropriately capitalized when querying 
to Class titles in catalogs are inappropriately capitalized
Description updated

Huh, sho nuff. Changing description. 
----------------------------------------
Bug #16240: Class titles in catalogs are inappropriately capitalized
https://projects.puppetlabs.com/issues/16240#change-70507

Author: Nick Fagerlund
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Classes are stored in the catalog as resources of "type": "Class", but their 
names get deformed:

    "title": "Pe_mcollective::Metadata", 

That's definitely not the name of that class. Puppet won't even let you name a 
class that. 

I notice it doesn't do this for other resource types: 

    "title": "pe-activemq", 
    "type": "Service"

This is a problem for PuppetDB, because if you're querying for classes on a 
given node, you'll get back capitalized names that Puppet itself won't 
recognize. Note also that although the "classes" list in the catalog has the 
correct names, PuppetDB doesn't expose it to queries of any kind. 


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to