Issue #1946 has been updated by luke.

Category set to fileserving
Status changed from Needs design decision to Accepted

There certainly needs to be some way to load module files this way, but there's 
no canonical 'files' section in the fileserver.

As a general rule, though, I agree - accepting a URI would make sense, and then 
we can pass it through the normal file routing process.  I'd only accept this 
as a URI, though.
----------------------------------------
Feature #1946: let file() obtain file contents from fileserver and/or module 
space
http://projects.reductivelabs.com/issues/1946

Author: madduck
Status: Accepted
Priority: Normal
Assigned to: luke
Category: fileserving
Target version: 
Complexity: Unknown
Affected version: 0.24.5
Keywords: 


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://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to