Issue #9385 has been reported by Tyler Parsons.
----------------------------------------
Bug #9385: Case sensitive .pp files
https://projects.puppetlabs.com/issues/9385
Author: Tyler Parsons
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version: 2.7.x
Affected Puppet version: 2.7.3
Keywords:
Branch:
We have found that the auto import feature of puppet 2.7.3 does not properly
import classes when the file name contains mixed case. However this problem
did not exist on puppet 2.6.9/2.6.x.
Note: The class name was not changed between tests ***class
d0::mount_RunII_home {***
Before File Name Change:
...
debug: importing '/puppet_path/zones/d0/manifests/init.pp' in environment
production
Could not find class d0::mount_RunII_home for hostname1 at
/puppet_path/manifests/nodes.d/hostname1.pp:2 on node hostname1
...
After File Name Change:
...
debug: importing '/puppet_path/d0/manifests/mount_runii_home.pp' in
environment production
debug: Automatically imported d0::mount_runii_home from d0/mount_runii_home
into production
...
>From what I'm able to observe it appears the class name is being lcased. So
>the auto import logic is looking file a file name that matches
>mount_runii_home rather than mount_RunII_home.
I was able to find this documented on the website (
http://docs.puppetlabs.com/guides/faq.html )
...
Class names can contain lowercase letters, numbers, and underscores, and
should begin with a lowercase letter. “::” can be used as a namespace separator.
...
Is this a new policy or something that is now being enforced before?
--
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.