Gehel has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/375795 )
Change subject: logstash - stop deploying custom elasticsearch plugins
......................................................................
logstash - stop deploying custom elasticsearch plugins
For "historical reasons" we deploy the same plugins to the logstash cluster
than to the cirrus cluster. Those plugins aren't used by logstash, we should
just stop deploying them.
Change-Id: Ib75d10865216fa7cabee0afb1f1580c2233280c3
---
M modules/role/manifests/logstash/elasticsearch.pp
1 file changed, 1 insertion(+), 8 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/95/375795/1
diff --git a/modules/role/manifests/logstash/elasticsearch.pp
b/modules/role/manifests/logstash/elasticsearch.pp
index a3bcdf1..77195ff 100644
--- a/modules/role/manifests/logstash/elasticsearch.pp
+++ b/modules/role/manifests/logstash/elasticsearch.pp
@@ -20,9 +20,6 @@
include ::elasticsearch::ganglia
}
- package { 'elasticsearch/plugins':
- provider => 'trebuchet',
- }
# Elasticsearch 5 doesn't allow setting the plugin path, we need
# to symlink it into place. The directory already exists as part of the
# debian package, so we need to force the creation of the symlink.
@@ -31,14 +28,10 @@
ensure => 'link',
target => $plugins_dir,
force => true,
- require => Package['elasticsearch/plugins'],
}
class { '::elasticsearch':
- require => [
- Package['elasticsearch/plugins'],
- File['/usr/share/elasticsearch/plugins'],
- ],
+ require => File['/usr/share/elasticsearch/plugins'],
plugins_dir => $plugins_dir,
curator_uses_unicast_hosts => false, # elasticsearch API is only
exposed to localhost
}
--
To view, visit https://gerrit.wikimedia.org/r/375795
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib75d10865216fa7cabee0afb1f1580c2233280c3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gehel <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits