Remove the mqtt options from logstash::indexer

The logstash::indexer no longer sets up the mqtt output plugin for
logstash. So we don't need to keep the options around to enable it and
write the create the cert file. This commit removes those pieces.

Change-Id: I6ebdb5dc8fea8309609d837a758eeaf1dc5ee760
Depends-On: I6becec12604c61fe50d3e6b9c7ed9f9e9be311ae
This commit is contained in:
Matthew Treinish 2017-05-03 15:58:57 -04:00
parent 2f689ee899
commit f183b53d30
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177
1 changed files with 0 additions and 12 deletions

View File

@ -31,8 +31,6 @@ class logstash::indexer (
$conf_template = undef,
$input_template = 'logstash/input.conf.erb',
$output_template = 'logstash/output.conf.erb',
$enable_mqtt = false,
$mqtt_ca_cert_contents = undef,
) {
include ::logstash
@ -86,16 +84,6 @@ class logstash::indexer (
mode => '0644',
require => Class['logstash'],
}
if $enable_mqtt {
file { '/etc/logstash/mqtt-root-CA.pem.crt':
ensure => present,
content => $mqtt_ca_cert_contents,
owner => 'logstash',
group => 'logstash',
mode => '0600',
notify => Service['logstash']
}
}
service { 'logstash':
ensure => running,
enable => true,