Dzahn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/229203

Change subject: logstash: add cluster hostnames to hiera
......................................................................

logstash: add cluster hostnames to hiera

We want to have a list of all cluster hostnames in hiera,
as opposed to just the unicast hosts (1004-1006), so we can
use the hostnames in ferm firewalling rules.

Bug:T104964
Change-Id: I47ea2913e088ce736a5b45386d94bd054fae3ed6
---
M hieradata/role/common/logstash.yaml
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/03/229203/1

diff --git a/hieradata/role/common/logstash.yaml 
b/hieradata/role/common/logstash.yaml
index 33ecff8..d9c08f7 100644
--- a/hieradata/role/common/logstash.yaml
+++ b/hieradata/role/common/logstash.yaml
@@ -29,3 +29,11 @@
 # garbled output when used with more than one thread worker.
 logstash::filter_workers: 1
 logstash::heap_memory_mb: 256
+
+logstash::cluster_hosts:
+  - logstash1001.eqiad.wmnet
+  - logstash1002.eqiad.wmnet
+  - logstash1003.eqiad.wmnet
+  - logstash1004.eqiad.wmnet
+  - logstash1005.eqiad.wmnet
+  - logstash1006.eqiad.wmnet

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I47ea2913e088ce736a5b45386d94bd054fae3ed6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to