I'm wondering if anyone knows a good way to get the date and time when a portion of code in a Puppet manifest is actually *executed*. Sometimes my manifests take a long time to run, and I need to schedule a task to occur soon after the end of the run, no matter when that occurs.
I have tried the time() function, setting a variable using generate() (using the date function on the Puppet master), and even creating a custom fact, but everything I've tried gets evaluated when the manifests are *parsed* on the server, rather than when they actually execute on the client. Any ideas? The clients are all Windows, FWIW. Thanks in advance! -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/436ba1f1-b8a1-426e-97f7-0b2ff7a9b25e%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
