Issue #4837 has been updated by Luke Kanies.

Status changed from Needs design decision to Accepted
Assignee deleted (Luke Kanies)


----------------------------------------
Feature #4837: Puppet function to specify contents from module file without 
templating
http://projects.puppetlabs.com/issues/4837

Author: Nigel Kersten
Status: Accepted
Priority: Normal
Assignee: 
Category: fileserving
Target version: 
Affected version: 
Keywords: 
Branch: 


Given that:

1. Each source => puppet:/// entry in a client catalog involves a metadata 
request roundtrip to the server on catalog application
2. Such resource application fails to work when the server is offline
3. The template function does template evaluation
4. The file function takes absolute paths

There isn't a good way right now to refer to a file inside a module and specify 
the contents of that file in the catalog (ie via content => ).

I propose we modify the file function such that if the specified path isn't 
absolute, it considers the path to be relative to the files subdirectory of the 
given module.





-- 
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.

Reply via email to