Hi,

You can check for the mtime in file resource.

On Friday 10 October 2014 10:50 AM, 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/f8b3cae1-c10f-483c-83e6-aebb664c66f8%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/f8b3cae1-c10f-483c-83e6-aebb664c66f8%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/543771D1.6040800%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to