Manybubbles has uploaded a new change for review.
https://gerrit.wikimedia.org/r/181612
Change subject: Temporarily add Elasticsearch to einsteinium
......................................................................
Temporarily add Elasticsearch to einsteinium
Einsteinium is being used for Titan testing. Titan can use Elasticsearch
for indexed lookups. We'd like to test that without using the production
Elasticsearch search cluster - just in case Titan does something crazy.
Change-Id: Ia32b419f76ca72361c6a88901c7a42972c11de32
---
M manifests/site.pp
1 file changed, 23 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/12/181612/1
diff --git a/manifests/site.pp b/manifests/site.pp
index c76d557..178cb65 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1108,6 +1108,29 @@
include standard
include admin
system::role { 'Titan test host': }
+
+ # Temporarily set up Elasticsearh on Einsteinium for testing Titan indexes
+ package { 'elasticsearch/plugins':
+ provider => 'trebuchet',
+ }
+ class { '::elasticsearch':
+ multicast_group => '224.2.2.5',
+ master_eligible => true,
+ minimum_master_nodes => 1,
+ cluster_name =>
"${::realm}-titan-test-elasticsearch-${::site}",
+ heap_memory => '5G',
+ plugins_dir => '/srv/deployment/elasticsearch/plugins',
+ auto_create_index => true,
+ expected_nodes => 1,
+ recover_after_nodes => 1,
+ recover_after_time => '1m',
+ }
+ include ::elasticsearch::log::hot_threads
+ # jq is really useful, especially for parsing
+ # elasticsearch REST command JSON output.
+ package { 'jq':
+ ensure => 'installed',
+ }
}
# erbium is a webrequest udp2log host
--
To view, visit https://gerrit.wikimedia.org/r/181612
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia32b419f76ca72361c6a88901c7a42972c11de32
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Manybubbles <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits