Issue #1946 has been updated by Nigel Kersten. Status changed from Accepted to Duplicate
Martin, I'm closing in favor of #5158 where we're heading towards the larger goal of making template and file consistent, and to have the functionality you've requested here. ---------------------------------------- Feature #1946: let file() obtain file contents from fileserver and/or module space https://projects.puppetlabs.com/issues/1946 Author: martin krafft Status: Duplicate Priority: Normal Assignee: Category: fileserving Target version: Statler Affected Puppet version: 0.24.5 Keywords: performance scaling Branch: file() as it is requires an absolute pathname. It would be nice if relative pathnames would be resolved relative to the root of the fileserver 'files' hierarchy, unless they start out with a module name, in which case the module space should be searched. For instance file("etc/motd") ==> puppet:///files/etc/motd files("motd/etc/motd") ==> .../modules/motd/files/etc/motd -- 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.
