I have a command that takes one or more effectively free form arguments and executes somewhat slowly and sometimes if things are changing much more slowly. Lets say 30s nominal execution in the simple case.
I’m not finding a list of hooks to see if anything is appropriate. Flush would be great if I was processing a bunch of individual arguments for a resource but I need something that allows me to defer these updates until the end of processing for a provider and flush them together. Am I missing an alternate method to do something like this or the correct place in the docs? Thanks Shawn If I have something like the following it takes at least 2 minutes slow_command { [‘thing1’, 'thing2', ‘thing3’, ’thing4']: value => true } /tmp/slow_command thing1=true /tmp/slow_command thing2=true /tmp/slow_command thing3=true /tmp/slow_command thing4=true If I manually invoke or exec it it takes 30s /tmp/slow_command thing1=true thing2=true thing3=true thing4=true :::slow_command::: #!/bin/sh sleep 30 echo $* -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/9D1DB354-8D30-448E-A461-54C67D4B8B26%40oracle.com. For more options, visit https://groups.google.com/d/optout.