Hi,
Basically you don't need to cache it, you can store the reports in
puppetdb or in filebucket.
https://docs.puppetlabs.com/references/3.7.latest/type.html#file-attribute-mtime
Or let us know what is your actual goal. You don't want your file to get
change, if change (check mtime) then replace.
On Friday 10 October 2014 11:33 AM, ganesh634 wrote:
Thanks for your reply.
In that case i need to cache the mtime for file and on subsequent
client run
need to check if mtime is same or not.
How to cache this information for client running in cron mode.
Is there a way to save context of previous client run.
On Friday, 10 October 2014 10:50:58 UTC+5:30, ganesh634 wrote:
How can i identify if the file content is changed in subsequent
client run.
Need this information for new resource implementation, which will
take action
only if file contents are modified.
The file will be created on client using template resource.
Is there a way to cache information of previous client run if the
client is running in cron mode.
--
You received this message because you are subscribed to the Google
Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to puppet-users+unsubscr...@googlegroups.com
<mailto:puppet-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/489716ef-08f0-4c65-ac7a-224ddf61f5a0%40googlegroups.com
<https://groups.google.com/d/msgid/puppet-users/489716ef-08f0-4c65-ac7a-224ddf61f5a0%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/5437BD2A.2060700%40gmail.com.
For more options, visit https://groups.google.com/d/optout.