Skip to content

Empty config file on RHEL6 #23

@petems

Description

@petems

Hi!

On RHEL6 with the following config:

class {'influxdb::server':
    collectd_options => {
      enabled => true,
      bind-address => '127.0.0.1:25826',
      database => 'collectd',
      typesdb => '/usr/share/collectd/types.db',
      batch-size => 1000,
      batch-pending => 5,
      batch-timeout => '1s',
      read-buffer => 0,
    },
  }

I'm getting a config file with lots of values missing:

Leading to errors:

###
### [meta]
###
### Controls the parameters for the Raft consensus group that stores metadata
### about the InfluxDB cluster.
###
[meta]

  dir = "/var/lib/influxdb/meta"
  hostname = "metrics-stack-puppet-profile"
  bind-address = ":8088"
  retention-autocreate = true
  election-timeout = "1s"
  heartbeat-timeout = "1s"
  leader-lease-timeout = "500ms"
  commit-timeout = "50ms"
  cluster-tracing =
  raft-promotion-enabled =
2016/01/26 18:55:38 InfluxDB starting, version 0.9.6.1, branch 0.9.6, commit 6d3a8603cfdaf1a141779ed88b093dcc5c528e5e, built 2015-12-10T23:40:23+0000
2016/01/26 18:55:38 Go version go1.4.2, GOMAXPROCS set to 1
2016/01/26 18:55:38 Using configuration at: /etc/influxdb/influxdb.conf
run: parse config: Near line 22 (last key parsed 'meta.cluster-tracing'): Expected value but found '\n' instead.

This is using 58fe0e7c9060bd9f03b95aac8a8ed9db48a87fe7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions