Switch onlyif to unless
We want unless not onlyif so we actually run the install command Change-Id: I7ae6b05e38e2234b51f6263134a77d305fa46648
This commit is contained in:
parent
616156f9a1
commit
ce51abae9c
@ -90,7 +90,7 @@ class logstash::indexer (
|
||||
exec {'install_mqtt_plugin':
|
||||
command => '/opt/logstash/bin/plugin install logstash-output-mqtt',
|
||||
before => Service['logstash'],
|
||||
onlyif => '/opt/logstash/bin/plugin list logstash-output-mqtt',
|
||||
unless => '/opt/logstash/bin/plugin list logstash-output-mqtt',
|
||||
}
|
||||
|
||||
file { '/etc/logstash/mqtt-root-CA.pem.crt':
|
||||
|
Loading…
x
Reference in New Issue
Block a user