Issue #8098 has been updated by eric sorenson. Status changed from Needs Decision to Rejected
Marking this not-to-be-fixed; in general we are trying to be stricter and more predictable with what the manifest autoloader will do; adding convenience polymorphism doesn't help that. Giles, with regards to the later examples in update #5, those are explicitly against the recommended style http://docs.puppetlabs.com/learning/definedtypes.html http://docs.puppetlabs.com/guides/style_guide.html#classes-and-defined-resource-types-within-classes ... mostly because it actually tends to be _less_ obvious, not more, where to find a particular bit of code. ---------------------------------------- Feature #8098: Ability to autoload modules/modulename/manifests/modulename.pp https://projects.puppetlabs.com/issues/8098#change-66072 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.
