Closed bastelfreak closed 11 months ago
On my influxdb node I see the following error since the upgrade:
Error: {:"Unable to retrieve puppet telegraf token"=>"undefined method `strip' for {}:Hash"}
I expected no error/no changes.
I assume it's coming from https://github.com/puppetlabs/influxdb/blob/5f919de1afaf3d318875f182fa5e00cf10d9d17b/lib/puppet/functions/influxdb/retrieve_token.rb#L51
https://github.com/puppetlabs/influxdb/blame/5f919de1afaf3d318875f182fa5e00cf10d9d17b/lib/puppet/functions/influxdb/retrieve_token.rb#L40
is that line actually correct? The client_options are passed in the header?
Fixed in #99
Describe the Bug
On my influxdb node I see the following error since the upgrade:
Expected Behavior
I expected no error/no changes.
Steps to Reproduce
Environment
Additional Context
I assume it's coming from https://github.com/puppetlabs/influxdb/blob/5f919de1afaf3d318875f182fa5e00cf10d9d17b/lib/puppet/functions/influxdb/retrieve_token.rb#L51