Skip to content

Conversation

@kbon
Copy link

@kbon kbon commented Nov 9, 2016

When trying to create a grafana_datasource using CentOS 6.8, the Puppet agent run failed with following error:

Could not evaluate: can't convert Hash into String

Apparently this is caused by the way the Net::HTTP object is created, especially the HTTPS-related options. Fixed by creating the Net::HTTP object with only hostname/port params, and later adding the SSL options when using HTTPS.

bastelfreak added a commit to bastelfreak/puppet-grafana that referenced this pull request Jun 21, 2018
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

Successfully merging this pull request may close these issues.

1 participant