Skip to content

Commit

Permalink
Use Foreman client certificates to setup qpid queues
Browse files Browse the repository at this point in the history
Katello uses the Foreman client certificates to talk to Qpid when
katello-agent support is enabled, the same should be used when
setting up Qpid queues and exchanges and not the server certificates
that are intended to be used by Qpid itself.
  • Loading branch information
ehelms committed Jul 28, 2021
1 parent b726f03 commit aeff98f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions manifests/qpid.pp
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@
contain qpid

if $katello::params::enable_katello_agent {
include certs::foreman

qpid::config::queue { $katello::params::agent_event_queue_name:
ssl_cert => $certs::qpid::client_cert,
ssl_key => $certs::qpid::client_key,
ssl_cert => $certs::foreman::client_cert,
ssl_key => $certs::foreman::client_key,
hostname => $katello::params::qpid_hostname,
username => $certs::qpid::hostname,
sasl_mechanism => 'EXTERNAL',
Expand Down

0 comments on commit aeff98f

Please sign in to comment.