[MediaWiki-commits] [Gerrit] ores: Don't include proxy cache temp path when cache is turn... - change (operations/puppet)

2015-06-06 Thread Yuvipanda (Code Review)
Yuvipanda has submitted this change and it was merged.

Change subject: ores: Don't include proxy cache temp path when cache is turned 
off
..


ores: Don't include proxy cache temp path when cache is turned off

Change-Id: I07fdeb4440ecac7a56e6b6758e9d3e6724301125
---
M modules/ores/templates/lb.nginx.erb
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Yuvipanda: Verified; Looks good to me, approved



diff --git a/modules/ores/templates/lb.nginx.erb 
b/modules/ores/templates/lb.nginx.erb
index 1970330..408c668 100644
--- a/modules/ores/templates/lb.nginx.erb
+++ b/modules/ores/templates/lb.nginx.erb
@@ -8,9 +8,10 @@
 <% if @cache -%>
 proxy_cache_path /srv/nginx/cache/ keys_zone=ores:64m;
 proxy_cache_valid 7d;
-<% end %>
 
 proxy_temp_path /srv/nginx/tmp/;
+<% end %>
+
 server {
 listen 80;
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I07fdeb4440ecac7a56e6b6758e9d3e6724301125
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda 
Gerrit-Reviewer: Yuvipanda 

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


[MediaWiki-commits] [Gerrit] ores: Don't include proxy cache temp path when cache is turn... - change (operations/puppet)

2015-06-06 Thread Yuvipanda (Code Review)
Yuvipanda has uploaded a new change for review.

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

Change subject: ores: Don't include proxy cache temp path when cache is turned 
off
..

ores: Don't include proxy cache temp path when cache is turned off

Change-Id: I07fdeb4440ecac7a56e6b6758e9d3e6724301125
---
M modules/ores/templates/lb.nginx.erb
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/28/216428/1

diff --git a/modules/ores/templates/lb.nginx.erb 
b/modules/ores/templates/lb.nginx.erb
index 1970330..408c668 100644
--- a/modules/ores/templates/lb.nginx.erb
+++ b/modules/ores/templates/lb.nginx.erb
@@ -8,9 +8,10 @@
 <% if @cache -%>
 proxy_cache_path /srv/nginx/cache/ keys_zone=ores:64m;
 proxy_cache_valid 7d;
-<% end %>
 
 proxy_temp_path /srv/nginx/tmp/;
+<% end %>
+
 server {
 listen 80;
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I07fdeb4440ecac7a56e6b6758e9d3e6724301125
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda 

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