Before fix puppet run with Graphite option caused an error:
[root@influxdbnode-172 ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template influxdb/influxdb.conf.erb:
Filepath: /etc/puppet/modules/influxdb/templates/influxdb.conf.erb
Line: 124
Detail: undefined method `key' for #<Hash:0x7f57fa551398>
at /etc/puppet/modules/influxdb/manifests/server/config.pp:100 on node influxdbnode-lwgh2dllyq2uld9
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Graphite array walk fixed
Before fix puppet run with Graphite option caused an error: