On Fri, 2009-02-20 at 10:58 +0800, Ohad Levy wrote:
> Thanks, I know that, but I was hoping to avoid it.. as I want to pass
> an array of files to the same template.
> 
> is there a scope variable which define the current resource? maybe
> something like scope.name?

I think what you're looking for is scope.resource.
But I'm not sure you have access to this inside a template.
But I understand your need, so that might be an interesting feature
request (ie access to the current resource parameters inside a
template).
Open a redmine feature request and it'll be discussed :-)
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to