deet wrote: > Greetings. > > I'm curious if their are any magic variable builtins that one can > use in situations like the following. > > In the following example the file element name is > "solaris_media_locations". I have that same filename in the path and > content values. Is their any shorthand way to reuse the element > name? >
First, it's called a resource :) To answer your question: Yes, you can. You're looking for either the $name or $title variable (by default they are both the same). But you'll have to wrap the resource in a define - I don't know of a way to use these variables in a resource directly. -scott -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.