chocolatey-archive / puppet-chocolatey

Chocolatey package provider
Apache License 2.0
87 stars 135 forks source link

[question] Supports timeout for big installation files like iso? #70

Open lmayorga1980 opened 9 years ago

lmayorga1980 commented 9 years ago

I have a nuget package that downloads an iso file 2.5GB and mounts the media in order to install. The whole process takes around 600 seconds and I was wondering if this module supports timeout. Otherwise, will have to use the exec resource type.

ferventcoder commented 9 years ago

It really depends on what choco version you have running behind the scenes -

choco -h

     --execution-timeout=VALUE
     CommandExecutionTimeoutSeconds - Override the default execution timeout
       in the configuration of 2700 seconds.

https://github.com/chocolatey/choco/wiki/CommandsReference#default-options-and-switches

ferventcoder commented 9 years ago

Sorry, apparently I don't have a label for questions. :/

ferventcoder commented 9 years ago

Oh - and you would pass it as part of install_options.