-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support custom TLS certificates for old Puppetserver #87
Conversation
@@ -97,14 +97,14 @@ def compile_catalog(node_name, server, certless) | |||
end | |||
|
|||
uri = URI("https://#{server}:#{port}#{endpoint}") | |||
Puppet.debug("Connecting to server: #{uri}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that this debug statement is required. The http client itself will log this at debug level already.
end | ||
raise "HTTP request to PuppetDB failed with: HTTP #{ret.code} - #{ret.reason}" unless ret.success? | ||
raise "HTTP request to Puppetserver #{server} failed with: HTTP #{ret.code} - #{ret.reason}" unless ret.success? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was a typo previously. the request was always going to the puppetserver, never puppetdb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I thought I already had this approved, sorry)
Pull Request (PR) description
This Pull Request (PR) fixes the following issues