Akosiaris has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/98519


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/19/98519/1

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: newchange
Gerrit-Change-Id: If451bda2f401cd25e386d3959129103fbdc2c905
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Akosiaris <akosia...@wikimedia.org>

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

Reply via email to