Use local ES balancers on logstash workers
Set up small non master non data elasticsearch daemons on logstash workers to act as local load balancers for the elasticsearch http protocol. Change-Id: Ie3729f851ebef3331a6b69f718e57d663209bfc2
This commit is contained in:
parent
a6248632db
commit
f754afd753
@ -75,7 +75,9 @@ class logstash {
|
||||
mode => '0644',
|
||||
}
|
||||
|
||||
package { 'openjdk-7-jre-headless':
|
||||
ensure => present,
|
||||
if ! defined(Package['openjdk-7-jre-headless']) {
|
||||
package { 'openjdk-7-jre-headless':
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,8 +23,10 @@ class logstash::watchdog (
|
||||
package { 'jq':
|
||||
ensure => present,
|
||||
}
|
||||
package { 'curl':
|
||||
ensure => present,
|
||||
if ! defined(Package['curl']) {
|
||||
package { 'curl':
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
||||
file { '/usr/local/bin/logstash-watchdog':
|
||||
|
Loading…
x
Reference in New Issue
Block a user