Issue #2493 has been updated by Markus Roberts.

It appears that this is a result of commit 
cddc365e9bac786c7a64240073b69bc54b6d2f2e, specifically the change from fqfind 
(which auto downcased it's args) to find_or_load (which does not) see:

http://github.com/reductivelabs/puppet/commit/cddc365e9bac786c7a64240073b69bc54b6d2f2e#L5L128

This could be fixed at several levels in the call chain, from the deepest 
(find_and_load, or there abouts) to the highest (~line 140 in 
parser/compiler.rb, where it calls find_hostclass) depending on the intent of 
the original change.  

If the case sensitivity was intentional and just spread too far we should 
change it high and search for other cases.  If it was unintentional then fixing 
find_and_load to restore the original behavior would be the right thing to do.


----------------------------------------
Bug #2493: classes seem to be case-sensitive as of 0.25.0rc1
http://projects.reductivelabs.com/issues/2493

Author: Sam Rowe
Status: Accepted
Priority: High
Assigned to: Markus Roberts
Category: plumbing
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.25.0rc1
Keywords: 


0.24.7 clients against a 0.25.0rc1 server are reporting things like:
<pre>
Aug  4 09:28:17 lee puppetmasterd[21538]: Could not find class RedHat in 
namespaces baseclass at /etc/puppet/manifests/site.pp:9 on node d
Aug  4 09:28:32 lee puppetmasterd[21511]: Could not find class HP-UX in 
namespaces baseclass at /etc/puppet/manifests/site.pp:9 on node wo
Aug  4 09:29:19 lee puppetmasterd[21511]: Could not find class Solaris in 
namespaces baseclass at /etc/puppet/manifests/site.pp:9 on node c
</pre>
We include $operatingsystem in our base class that every host gets. We're 
running under Passenger 2.2.2.

We can set up a debug master if you need us to, but we don't have a ton of time 
in the next couple of weeks so if you can do it w/o us, that'd be great.


-- 
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://reductivelabs.com/redmine/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