-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 an apache::vhost::proxy define #2169
Conversation
apache::vhost::proxy is a typethat may have no external impact to Forge modules. This module is declared in 175 of 577 indexed public
|
b5c28d6
to
d8fca7a
Compare
This PR has been marked as stale because it has been open for a while and has had no recent activity. If this PR is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days. |
@wbclark Apologies for the wait on a review. |
This builds on apache::vhost::fragment with a more specialized type for a reverse proxy setup. This reuses the same template as apache::vhost but has data types. The types are stricter, but this leads to a clearer API. For example, it doesn't accept String and Array[String] but in that case always wants an Array. The old parameters on vhost remain and can continue to be used.
Adds thorough documentation for the Apache::Vhost::Proxy resource type and Apache::Vhost::ProxyPass data type introduced by the commit b37682. Addresses issues with clarity and coverage identified in code review.
Thanks very much @ekohl and @david22swan for the feedback, and sorry for the delay in resuming work on this. I've updated this with major improvements to the documentation for the data type and the defined resource type, in order to address the provided feedback. |
@wbclark Look's like your getting a syntax failure on your code sorry, it's a small one though and an easy fix:
One other thing is, could you add a type to the
|
@david22swan thanks, I've made the requested updates. I did these in separate commits for easier reviewing, I assume you'll want to squash before merging. Let me know if you prefer me to do that and force push, or if you'd rather do the squashing on your end during merge. Thanks! |
@wbclark One more quick change sorry, but to the best of my knowledge, $priority should be Thank you though for getting back on this so fast, but I will be off from tomorrow through till Monday so won't be able to get it merged till then sorry. |
Thanks @david22swan -- I'd only seen Integer values for $priority before. I made the update to the requested type. Enjoy the time off and I'll look forward to following up on your return. |
@wbclark Thanks for putting in the work and getting this so clean. It LGTM now so I'm gonna go ahead and merge. Also, to clarify about the accepted values, while the apache config only accepts integer values being given, the original examples and default variable both indicate it being passed through as a string, thus necessitating that we accept input in that manner. Anyway, thanks again for putting in the work and getting it done so fast :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @david22swan and @ekohl ! It's been a pleasure working with you on it. |
This builds on apache::vhost::fragment with a more specialized type for
a reverse proxy setup. This reuses the same template as apache::vhost
but has data types. The types are stricter, but this leads to a clearer
API. For example, it doesn't accept String and Array[String] but in that
case always wants an Array.
The old parameters on vhost remain and can continue to be used.