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

Support custom TLS certificates for old Puppetserver #87

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak added the enhancement New feature or request label Jun 14, 2022
@bastelfreak bastelfreak self-assigned this Jun 14, 2022
@@ -97,14 +97,14 @@ def compile_catalog(node_name, server, certless)
end

uri = URI("https://#{server}:#{port}#{endpoint}")
Puppet.debug("Connecting to server: #{uri}")
Copy link
Member Author

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?
Copy link
Member Author

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

Copy link
Member

@evgeni evgeni left a 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)

@bastelfreak bastelfreak merged commit c4804c8 into voxpupuli:master Jul 20, 2022
@bastelfreak bastelfreak deleted the certs branch July 20, 2022 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants