Issue #2024 has been updated by Nigel Kersten.

Status changed from Accepted to Needs more information

Brice, Ohad, anything to update with this ticket?
----------------------------------------
Feature #2024: access  the current resource parameters inside a template
https://projects.puppetlabs.com/issues/2024

Author: Ohad Levy
Status: Needs more information
Priority: Normal
Assignee: Brice Figureau
Category: 
Target version: unplanned
Affected Puppet version: 0.24.7
Keywords: 
Branch: 


Hi,

I would like to able to do:
<pre>
file {["/tmp/a","/tmp/b"]: content => template("template.erb")}
</pre>

and within the template
<pre>
<% if scope.resource.contains("tmp") ........ %>
</pre>

Thanks


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