[Puppet Users] Update time in template file.

rjl
2010-12-19T21:16:34Z

Hi all,
How can I put in an update time in a template file? The problem I am
running it to is this...

Here is my file to update the timestamp

snmp.conf.erb

# HEADER: [ <%= Time.now.gmtime %> ] Modified by puppet.
defVersion 2c
devCommunity somecommunity


The problem is that everytime puppet runs, it updates the time stamp.
I only want it to update if there was an actual change to the content
of the file

Thanks in advace.

rjl