Skip to content
This repository has been archived by the owner on Jun 21, 2018. It is now read-only.

Inconsistent proxy setting mechanism #39

Closed
cliffano opened this issue Nov 6, 2017 · 3 comments
Closed

Inconsistent proxy setting mechanism #39

cliffano opened this issue Nov 6, 2017 · 3 comments

Comments

@cliffano
Copy link

cliffano commented Nov 6, 2017

For proxy setting in aco-oracle_java, is the intention for user to explicitly set proxy setting as attributes? or for user to set environment variables and then aco-oracle_java will honour http_proxy, https_proxy, and no_proxy?

download.pp manifest explicitly set the proxy setting by setting Archive proxy attributes https://github.com/antoineco/aco-oracle_java/blob/master/manifests/download.pp#L24

However, puppet_x/util.rb doesn't explicitly set any proxy detail and I assume it relies on Net::HTTP to honour proxy environment variable.
https://github.com/antoineco/aco-oracle_java/blob/master/lib/puppet_x/util.rb#L22

So which one is the intended way of setting proxy in aco-oracle_java?

@antoineco
Copy link
Owner

You're right, I did not implement proxy support in the oracle_sso function, thanks for pointing this out!

There is no preferred way to configure the proxy, but the custom function should definitely consume proxy_* parameters. I'll do it as soon as I'm done fixing the SSO function (see #40).

@antoineco
Copy link
Owner

@cliffano can I close this in favour of the other issue you opened? I think the goal is the same.

@cliffano
Copy link
Author

cliffano commented Nov 7, 2017

Sure thing. Closing this one, resuming discussion on #40 .

@cliffano cliffano closed this as completed Nov 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants