Giuseppe Lavagetto has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/334387 )
Change subject: profile::etcd::tlsproxy: add etcd-like 401 response
......................................................................
profile::etcd::tlsproxy: add etcd-like 401 response
Change-Id: I96b7ad9d7fd78b3a6a41c406335e138a677156dc
---
M modules/profile/manifests/etcd/tlsproxy.pp
1 file changed, 3 insertions(+), 2 deletions(-)
Approvals:
Giuseppe Lavagetto: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/profile/manifests/etcd/tlsproxy.pp
b/modules/profile/manifests/etcd/tlsproxy.pp
index 42f9453..d6f54a9 100644
--- a/modules/profile/manifests/etcd/tlsproxy.pp
+++ b/modules/profile/manifests/etcd/tlsproxy.pp
@@ -29,8 +29,9 @@
# Simulate the etcd auth error
file { '/etc/nginx/etcd-errors/401.json':
- ensure => present,
- mode => '0444',
+ ensure => present,
+ mode => '0444',
+ content => '{"errorCode":110,"message":"The request requires user
authentication","cause":"Insufficient credentials","index":0}',
}
# I know, this is pretty horrible. Puppet is too, with its
--
To view, visit https://gerrit.wikimedia.org/r/334387
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I96b7ad9d7fd78b3a6a41c406335e138a677156dc
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits