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:
parent
2f689ee899
commit
f183b53d30
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user