Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 3.4.2, PUP 3.7.5, PUP 3.8.1, PUP 3.8.2
-
Linux
-
2
-
Client 2015-08-19, Client 2015-09-02
-
Bug Fix
-
On POSIX systems, Exec resources using the timeout parameter now send a TERM signal to the executed command if the timeout is exceeded.
Description
Trivial reproduction case:
exec
{ "sleep": command => "/bin/sleep 1800", timeout => 10, }With this, Puppet exits after roughly 10 seconds, but the sleep continues to run until the 1800 seconds are over.
My expectation would be for the sleep to get killed after the timeout hits.
As far as I can tell, the relevant code didn't change (much) till current head, so I suspect the issue still exists.
Attachments
Issue Links
- links to