Issue #8098 has been updated by Giles Constant.
I always put classes in separate files (the code above is just an example). I *never* put defined types in their own file unless there is only one resource and nothing else in the directory. I know exactly where the resource is from the class name it's in. I'm not going to change that habit - it works. ---------------------------------------- Feature #8098: Ability to autoload modules/modulename/manifests/modulename.pp https://projects.puppetlabs.com/issues/8098#change-66087 Author: Giles Constant Status: Rejected Priority: Low Assignee: eric sorenson Category: Target version: Affected Puppet version: Keywords: module autoload filename Branch: Hi! It would be cool if you could autoload foo/manifests/foo.pp instead of init.pp. Why? Well, I've got about 8 files open in this editor, and they're all called "init.pp" which makes it difficult to switch between them using the keyboard to auto-complete their names. It forces me to use the mouse. Even then, I can't always remember which one to click on. It's a slight drain on productivity when you can't find the file you want to refer to! Of course, you could just put an import statement in init.pp, but that might discourage people from doing it, and if it isn't considered recommended behaviour, people probably won't do it. What do you think? -- 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.
