aririikonen / oracle

Full Oracle cookbook for Chef. Please see the README.md for further details.
http://oraarir.blogspot.fi/
44 stars 50 forks source link

Introduce an attribute to override curl options #11

Open mrmarbury opened 8 years ago

mrmarbury commented 8 years ago

Hi,

it would be great to be able to overwrite/set the curl options used for oracle download myself. We use proxies here and curl does not recognize the NO_PROXY variable. So It should be possible to configure Curl with different attributes.

Cheers, Stefan

aririikonen commented 8 years ago

Added default[:oracle][:curl_options] = "-kO" attribute. Tested with 11g installation only without creating a database and old DB patch p16619892_112030_Linux-x86-64.zip.

==> default: [2016-02-09T20:30:09+00:00] INFO: Chef Run complete in 550.178102615 seconds ==> default: ==> default: Running handlers: ==> default: [2016-02-09T20:30:09+00:00] INFO: Running report handlers ==> default: Running handlers complete ==> default: ==> default: [2016-02-09T20:30:09+00:00] INFO: Report handlers complete ==> default: Chef Client finished, 60/76 resources updated in 09 minutes 11 seconds

Uploading version 1.2.3 soon.