-
Notifications
You must be signed in to change notification settings - Fork 48
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
candlepin: use own certs for qpid #215
Conversation
c321adb
to
972467e
Compare
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.
It looks good and I think you're right, but the tests are failing.
Tests currently fail, because |
I have a feeling, that actually the katello rails application needs to have |
972467e
to
f6cfba3
Compare
Yeah, my expectation was correct: The Katello rails app needs
|
This is still missing a notify from |
@@ -22,6 +22,8 @@ | |||
include ::certs::apache | |||
include ::certs::foreman | |||
include ::certs::pulp_client | |||
include ::certs::qpid |
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.
Shouldn't qpid_client be sufficient? Or can we make it sufficient?
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.
Well, certs::qpid_client
just rolls out certificates for the qpid-config tool. certs::qpid
rolls out the whole nss certstore. We need the latter for the app.
::katello::qpid_client
does include include ::certs::qpid
, so this is here just for completeness' sake.
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.
If we're not using it in this class then I'd consider it an implementation detail of qpid_client
, but it might even be better to just include qpid::client
in this class rather than split it off if there's just 1 use of it.
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 left this in now, as it's required for the notify of foreman-tasks.
With theforeman/puppet-foreman#530 that'll be nicely wrapped in |
f6cfba3
to
7cac322
Compare
@ekohl: Added the notify and a test for it so it works with the current implementation of |
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'll likely revisit the notifications when the foreman PR is merged
Thanks! |
The
qpid_ssl_cert
andqpid_ssl_key
parameters forcandlepin
are just to set up an exchange.This can be done with candlepin's qpid certificates and removed the dependency for qpid's certificates.