Akosiaris has submitted this change and it was merged.

Change subject: Centralize puppet reports and file buckets
......................................................................


Centralize puppet reports and file buckets

With the move to a multi-puppetmaster environment, reports and
filebuckets would be spread out on all puppetmasters. Report storage and
filebuckets take minimal resources and as such they could be centralized
for more efficient processing with no danger for the infrastructure.
This commit centralizes them on the frontend puppetmaster

Change-Id: If451bda2f401cd25e386d3959129103fbdc2c905
---
M modules/puppetmaster/templates/puppetmaster.erb
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Akosiaris: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/puppetmaster/templates/puppetmaster.erb 
b/modules/puppetmaster/templates/puppetmaster.erb
index 81acbdc..80a4dc4 100644
--- a/modules/puppetmaster/templates/puppetmaster.erb
+++ b/modules/puppetmaster/templates/puppetmaster.erb
@@ -36,6 +36,8 @@
 
        SSLProxyEngine on
        ProxyPassMatch ^/([^/]+/certificate.*)$ https://<%= @fqdn %>:8141
+       ProxyPassMatch ^/([^/]+/report/.*)$ https://<%= @fqdn %>:8141
+       ProxyPassMatch ^/([^/]+/file_bucket_file/md5/.*)$ https://<%= @fqdn 
%>:8141
        ProxyPass / balancer://mycluster/
        <Proxy balancer://mycluster>
          <%- @workers.each do |worker| -%>

-- 
To view, visit https://gerrit.wikimedia.org/r/98519
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If451bda2f401cd25e386d3959129103fbdc2c905
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Akosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: Akosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to