OK, I'm trying to do something (apparently) stupid.  Here's the relevant 
fragment of my manifest:

     "/jumpstart/Begin/rootmirror.beg":
       require => File["/jumpstart/Begin"],
       content => template("jumpstart/standard.beg.erb");
     "/jumpstart/Begin/standard.beg":
       require => File["/jumpstart/Begin"],
       content => template("jumpstart/standard.beg.erb");


So the key thing here is that I've got two different files, but I'm using the 
same template for them.  I had assumed that inside the template I could access 
"name" or "path" to figure out what the current resource was, and thereby 
choose the correct contents of the script.  Sadly, my introspection-fu seems to 
be lacking and I'm unable to figure it out.  Any help?

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