Closed ojacobson closed 10 years ago
My motivation for this is a multi-gigabyte archive (the Android SDK, with all the platform parts pre-installed) that takes longer than 5 minutes to unpack. Puppet's default exec
timeout is 300 seconds...
After consideration, will only keep a single timeout configuration for the module.
I've opted to have extract's timeout default to the same value as file's, which changes the theoretical maximum execution time from $timeout + 5 minutes (exec's default timeout) to 2 * $timeout. To give users more control, there's a new, optional $extract_timeout parameter that affects only the extract stage.
I've also added the corresponding timeout parameter to staging::extract.