Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty config file on RHEL6 #23

Open
petems opened this issue Jan 26, 2016 · 0 comments
Open

Empty config file on RHEL6 #23

petems opened this issue Jan 26, 2016 · 0 comments

Comments

@petems
Copy link

petems commented Jan 26, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant