- From: Kay Münch <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Package Install Timeouts
- Date: Sat, 29 Mar 2014 17:50:02 +0100
Hi Daniel,
thanks a lot for your suggestion. I came to a working solution by changing
---8<---
def download_direct_from_oracle(tarball_name, new_resource)
...
cmd = shell_out!(
%Q[ curl --create-dirs -L --cookie
"#{cookie}" #{new_resource.url} -o #{download_path} ]
)
---8<---
into
---8<---
def download_direct_from_oracle(tarball_name, new_resource)
...
cmd = shell_out!(
%Q[ curl --create-dirs -L --cookie
"#{cookie}" #{new_resource.url} -o #{download_path} ], :timeout => 1200
)
---8<---
within the provided ark.rb from the java cookbook.
Many thanks again and best regards.
Kay
On Wednesday, March 26, 2014 at 08:36 AM, Daniel DeLeo wrote:
>
Looks like this cookbook is shelling out to curl to do the download,
>
probably via an execute resource or direct call to the shellout method. In
>
either case it should be possible to modify the timeout in the cookbook.
>
>
--
>
Daniel DeLeo
Archive powered by MHonArc 2.6.16.