On Sun, 19 Dec 2010, Stefan Schulte wrote:
> If you really depend on your headerline consider the following: Don't
> use Time.now but use something like
> File.stat('/etc/puppet/modules/snmp/template/snmp.conf.erb').mtime.gmtime
> [Maybe theres a way to address the filename from the template itself,
> but I havent figured that out; __FILE__ and ARGV are not working]

Feature request #4359 asks for a way that templates can get their own
name.  It's not possible at the moment.

--apb (Alan Barrett)

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

Reply via email to