Title: Message Title
Etrik Patricella commented on an issue
Puppet / Bug PUP-2299
A command that times out will not re-execute if "tries" is set.
I was expecting something like this to retry execution if the command timed out:

    exec { '/path/to/mycommand':
      tries => 2,
      timeout => 10,
    }

Unfortunately, the exception generated by a timeout resumes control outside of the retry loop:

        begin
          tries.times do |try|
            # Only add debug messages for tr...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to