Remove logstash mqtt plugin install

The logstash mqtt plugin caused issues in production and we're not going
to use it. We'll be emitting mqtt notifications directly from the
gearman worker instead. So this commit removes the plugin install so we
can set enable_mqtt to true to install the cert.

Change-Id: I0a17444cce18dd4b63f1f924e393483f6d8fe8eb
This commit is contained in:
Matthew Treinish 2017-04-27 15:57:33 -04:00
parent 0e3d046cd6
commit 2f689ee899
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
1 changed files with 0 additions and 6 deletions

View File

@ -87,12 +87,6 @@ class logstash::indexer (
require => Class['logstash'],
}
if $enable_mqtt {
exec {'install_mqtt_plugin':
command => '/opt/logstash/bin/plugin install logstash-output-mqtt',
before => Service['logstash'],
unless => '/opt/logstash/bin/plugin list logstash-output-mqtt',
}
file { '/etc/logstash/mqtt-root-CA.pem.crt':
ensure => present,
content => $mqtt_ca_cert_contents,