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

Fixed HTTPS call for EL6 default Ruby 1.8.7 version #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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