Ori.livneh has uploaded a new change for review.

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

Change subject: Pass --proxy-server=http://127.0.0.1 to Chromium on osmium
......................................................................

Pass --proxy-server=http://127.0.0.1 to Chromium on osmium

We'd like all requests to be handled by localhost, so we can try out VE commits
locally and see how they perform.

Change-Id: I4567e4e3110062c871937c638b594d540b78a96a
---
M manifests/role/ve.pp
1 file changed, 13 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/35/187135/1

diff --git a/manifests/role/ve.pp b/manifests/role/ve.pp
index b475ee3..eb2e423 100644
--- a/manifests/role/ve.pp
+++ b/manifests/role/ve.pp
@@ -4,8 +4,19 @@
 # Chromium instance that supports remote debugging.
 #
 class role::ve {
-    class { 'xvfb': resolution => '1366x768x24' }
-    class { 'chromium': }
+
+    # 1366x768 is the most common display resolution, according
+    # to http://gs.statcounter.com/.
+
+    class { 'xvfb':
+        resolution => '1366x768x24',
+    }
+
+    # Instruct Chromium to route all requests to localhost.
+
+    class { 'chromium':
+        extra_args => '--proxy-server=http://127.0.0.1',
+    }
 
     # vbench is a CLI tool for benchmarking VisualEditor.
     # It uses `autobahn` and `twisted` for WebSocket support, which

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4567e4e3110062c871937c638b594d540b78a96a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to