Dzahn has submitted this change and it was merged.
Change subject: Add login / password to MongoDB client
......................................................................
Add login / password to MongoDB client
RT: 5101
Change-Id: I384ed0ae3af248e4e1b1db54503ba166120d46ac
---
M modules/eventlogging/templates/eventlogging.conf.erb
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/modules/eventlogging/templates/eventlogging.conf.erb
b/modules/eventlogging/templates/eventlogging.conf.erb
index 2392cf1..6c0b5a2 100644
--- a/modules/eventlogging/templates/eventlogging.conf.erb
+++ b/modules/eventlogging/templates/eventlogging.conf.erb
@@ -136,7 +136,7 @@
[program:json2mongo-vanadium]
user = eventlogging
command = json2mongo --sid=json2mongo tcp://localhost:8600
- mongodb://vanadium.eqiad.wmnet:27017/?w=1
+ mongodb://<%= scope.lookupvar('passwords::mongodb::eventlogging::user')
%>:<%= scope.lookupvar('passwords::mongodb::eventlogging::password')
%>@vanadium.eqiad.wmnet:27017/?w=1
priority = 500
redirect_stderr = true
stdout_logfile = /var/log/supervisor/%(program_name)s.log
--
To view, visit https://gerrit.wikimedia.org/r/62661
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I384ed0ae3af248e4e1b1db54503ba166120d46ac
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Faidon <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits