From f183b53d301a85d07621aee7a182680601f4e2cc Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Wed, 3 May 2017 15:58:57 -0400 Subject: [PATCH] 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 --- manifests/indexer.pp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/manifests/indexer.pp b/manifests/indexer.pp index d0116ac..a22466a 100644 --- a/manifests/indexer.pp +++ b/manifests/indexer.pp @@ -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,