Issue #8098 has been updated by Giles Constant.
I would have to disagree there. What other language/style guide tells you to put every function in a separate file? That's mad. My apache class has about 20 defines in it, and some call others. I'm not loading 20 files into my editor and flicking between all the files just to edit/understand what it's doing. I've never had a problem finding functions, although I would if they were scattered all over the filesystem. ---------------------------------------- Feature #8098: Ability to autoload modules/modulename/manifests/modulename.pp https://projects.puppetlabs.com/issues/8098#change-66076 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.
