New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add proxy / environment support for tomcat::install #173
Conversation
3cdb860
to
869905c
Compare
Added Documentation for the new environment param... |
869905c
to
f1d62c5
Compare
Hi @edestecd. The code looks solid. But i worry about whether or not this will be used by a majority of users of the module. This extra environment variables and setup doesn't feel right in the module itself. I had a look at other modules to see what they did. I was unable to see prior art of this. I could however be massively wrong. |
What other options do we have to set a web proxy for the staging module to use when downloading? |
@tphoney Here is one example I can find: If you are using the archive module instead of staging, it has specific params for proxy, which I think are better. This would require a refactor of the tomcat module. |
@edestecd this is fine for now. Long-term someone needs to migrate tomcat off the staging module to puppet/archive, which has proxy support built in. |
Is there a Jira ticket for switching to archive? |
@edestecd thanks for the work on this. I will have a search and get back to you. Apologies if i was out of line earlier. |
@tphoney no worries. Constructive criticism always welcome ;) Using environment for proxy settings is kind of hacky... |
We need to download tomcat through a corporate web proxy...