Aaron Schulz has uploaded a new change for review. https://gerrit.wikimedia.org/r/99278
Change subject: Added logstash role and applied it to logging logstash servers ...................................................................... Added logstash role and applied it to logging logstash servers Change-Id: Icfd56353cc2299ea0787eca2577b21d1dc5b85be --- A manifests/role/logstash.pp M manifests/site.pp 2 files changed, 20 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/78/99278/1 diff --git a/manifests/role/logstash.pp b/manifests/role/logstash.pp new file mode 100644 index 0000000..e52508e --- /dev/null +++ b/manifests/role/logstash.pp @@ -0,0 +1,19 @@ +# = Class: role::logstash +# +# This class sets up LogStash+Elasticsearch configuration in a WMF-specific way +# +class role::logstash { + include elasticsearch::ganglia + include elasticsearch::nagios::check + + deployment::target { 'elasticsearchplugins': } + + class { '::elasticsearch': + multicast_group => '224.2.2.5', + master_eligible => true, + minimum_master_nodes => 2, + cluster_name => "production-logstash-${::site}", + heap_memory => '5G', + plugins_dir => '/srv/deployment/elasticsearch/plugins', + } +} diff --git a/manifests/site.pp b/manifests/site.pp index 7e3e787..4d59ec7 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -2752,6 +2752,7 @@ node /^logstash100[1-3]\.eqiad\.wmnet$/ { include standard + include role::logstash include groups::wikidev include accounts::aaron -- To view, visit https://gerrit.wikimedia.org/r/99278 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icfd56353cc2299ea0787eca2577b21d1dc5b85be Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits