Add statsd_prefix default of mosquitto

The YAML configuration expects a statsd_prefix value, so provide a
reasonable default of "mosquitto" for it (as many of the values it
will report to statsd are mosquitto-specific).

Change-Id: I532bb0ef87349b8de37c48acfbdd636d2c264a1f
This commit is contained in:
Jeremy Stanley 2017-04-12 16:53:35 +00:00 committed by Matthew Treinish
parent 2a200de547
commit 364384bf52
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ class mqtt_statsd::server (
$statsd_hostname,
$mqtt_port = 1883,
$statsd_port = 8125,
$statsd_prefix = 'mosquitto',
){
file { '/etc/mqtt_statsd.yaml':