GWicke has uploaded a new change for review.

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

Change subject: Minor / restbase config: Explicitly set the return status for 
robots.txt
......................................................................

Minor / restbase config: Explicitly set the return status for robots.txt

Change-Id: Id9ec0918a1b1015cc74ad4745218609d73ec6048
---
M modules/restbase/templates/config.labs.yaml.erb
M modules/restbase/templates/config.yaml.erb
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/56/258356/1

diff --git a/modules/restbase/templates/config.labs.yaml.erb 
b/modules/restbase/templates/config.labs.yaml.erb
index dae7d2b..45730c6 100644
--- a/modules/restbase/templates/config.labs.yaml.erb
+++ b/modules/restbase/templates/config.labs.yaml.erb
@@ -92,6 +92,7 @@
         x-request-handler:
           - static:
               return:
+                status: 200
                 headers:
                   content-type: text/plain
                 body: |
diff --git a/modules/restbase/templates/config.yaml.erb 
b/modules/restbase/templates/config.yaml.erb
index 007655e..4f2cb6b 100644
--- a/modules/restbase/templates/config.yaml.erb
+++ b/modules/restbase/templates/config.yaml.erb
@@ -835,6 +835,7 @@
         x-request-handler:
           - static:
               return:
+                status: 200
                 headers:
                   content-type: text/plain
                 body: |

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id9ec0918a1b1015cc74ad4745218609d73ec6048
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: GWicke <[email protected]>

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

Reply via email to