diff --git a/CHANGELOG.md b/CHANGELOG.md index cd3b840cf..b0ae89174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## v1.2 [unreleased] + +### Bugfixes + +- [#1917](https://github.com/influxdata/telegraf/pull/1917): fix puppetagent inputs plugin to support string for config variable. + ## v1.1 [unreleased] ### Release Notes diff --git a/plugins/inputs/puppetagent/puppetagent.go b/plugins/inputs/puppetagent/puppetagent.go index 3b22c3d10..c8a265bb8 100644 --- a/plugins/inputs/puppetagent/puppetagent.go +++ b/plugins/inputs/puppetagent/puppetagent.go @@ -68,8 +68,8 @@ type time struct { } type version struct { - Config_string string `yaml:"config"` - Puppet string `yaml:"puppet"` + ConfigString string `yaml:"config"` + Puppet string `yaml:"puppet"` } // SampleConfig returns sample configuration message