Hi - is there way to get the name of the resource being called when its inside a class?
For example, if I have something defined as 'my_file' and I call it like this inside of a class: my_file { "/etc/bashrc": ; } Is there anyway to get the "/etc/bashrc" part in the definition logic itself? It used to work (in like the .24 days maybe?) that I could use $name, but I'm noticing in 2.7 that $name and $title now seem to point to the class that the definition is called in, which breaks my definition. Thanks for your help! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.