Issue #1012 has been updated by jamtur01. Status changed from Ready for Checkin to Closed
Pushed in commit:"463aab8d55cd7d1ba9abd941e82cb2d4483d0e52" in branch 0.24.x ---------------------------------------- Feature #1012: Puppet should prefer templates in templatedir over a module http://reductivelabs.com/redmine/issues/show/1012 Author: admin Status: Closed Priority: Normal Assigned to: jamtur01 Category: modules Target version: 0.24.5 Keywords: Complexity: Easy Patch: Code Affected version: When using modules, Puppet currently prefers the template in the module over a template in :templatedir. I think this should be reversed, which would provide an easy way of allowing users to override a default template in a module. As a sample case, think of a shared "sudo" module, with a sudoers template. Different users may have vastly different standards for such a template, but you could distribute a common workable one with the module itself. A patch to do this is attached. If puppet finds that a file exists in :templatedir, it prefers it. Otherwise, it falls through to the module (and eventually returns the template path anyway, if it can't do anything else.) ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
