Filippo Giunchedi has submitted this change and it was merged.

Change subject: elasticsearch: add python-requests dependency
......................................................................


elasticsearch: add python-requests dependency

Change-Id: I7f21b1fee2df8bdbf804cc96522bd42372902343
---
M modules/elasticsearch/manifests/nagios/plugin.pp
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Filippo Giunchedi: Verified; Looks good to me, approved
  Giuseppe Lavagetto: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/modules/elasticsearch/manifests/nagios/plugin.pp 
b/modules/elasticsearch/manifests/nagios/plugin.pp
index 596cb0b..27b6fdf 100644
--- a/modules/elasticsearch/manifests/nagios/plugin.pp
+++ b/modules/elasticsearch/manifests/nagios/plugin.pp
@@ -21,4 +21,9 @@
       require => Package['icinga'],
       tag => 'nagiosplugin'
     }
+
+    package { 'python-requests':
+      ensure => 'installed',
+      before => File['/usr/lib/nagios/plugins/check_elasticsearch.py'],
+    }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7f21b1fee2df8bdbf804cc96522bd42372902343
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to