Merge "Remove the mqtt options from logstash::indexer"
This commit is contained in:
commit
515357a301
@ -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