Faidon Liambotis has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/325931 )

Change subject: aptrepo: pin ElasticSearch version
......................................................................

aptrepo: pin ElasticSearch version

For various reasons, we don't want "reprepro update" to bring the latest
ElasticSearch version. We have been currently pinning updates to 2.x by
virtue of using the elasticsearch/2.x/debian repository but apparently
this isn't enough and we don't want to be bringing even new minor
versions into our repository.

Pin this further by adding a version equality match to our grep-dctrl
ListShellHook.

Bug: T138608
Change-Id: I1a7996945b19609fa2b7715cae473b7d63581504
---
M modules/aptrepo/files/updates
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/31/325931/1

diff --git a/modules/aptrepo/files/updates b/modules/aptrepo/files/updates
index 2e3d37e..ff51636 100644
--- a/modules/aptrepo/files/updates
+++ b/modules/aptrepo/files/updates
@@ -74,7 +74,7 @@
 GetInRelease: no
 Architectures: amd64
 VerifyRelease: D27D666CD88E42B4
-ListShellHook: grep-dctrl -X -S elasticsearch || [ $? -eq 1 ]
+ListShellHook: grep-dctrl -X -S elasticsearch -a -F Version --eq 2.3.5 || [ $? 
-eq 1 ]
 
 Name: logstash
 Method: http://packages.elasticsearch.org/logstash/1.4/debian

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a7996945b19609fa2b7715cae473b7d63581504
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <fai...@wikimedia.org>

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

Reply via email to