dgolja / golja-influxdb

Puppet module for InfluxDB
Apache License 2.0
19 stars 73 forks source link

UDP not configurable #8

Closed nohn closed 8 years ago

nohn commented 8 years ago

To reproduce:

class { "influxdb::server":
    udp_enabled => true,
    udp_database => "helios",
    udp_bind_address => ":8089",
}

expected result:

[[udp]]
  enabled = true
  bind-address = ":8089"
  database = "helios"

actual result

[udp]
  enabled = true
  bind-address = ":8089"
  database = "helios"

this leads to influxdb 0.9.3 not starting:

run: parse config: Type mismatch for 'run.Config.udp': Expected slice but found 'map[string]interface {}'.
dgolja commented 8 years ago

tnx probably the template is wrong .... Do you want to create an PR or do you want me to fix it ?

nohn commented 8 years ago

Done. See https://github.com/n1tr0g/golja-influxdb/pull/9