Skip to content

Commit

Permalink
Refs #28924: Drop qpid client configuration used by older katello-qpid
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed May 1, 2020
1 parent 05604d3 commit 5c9c1be
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 47 deletions.
5 changes: 0 additions & 5 deletions manifests/application.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@
include certs::candlepin
include certs::foreman
include certs::pulp_client
include certs::qpid
include katello::params

include katello::qpid_client
User<|title == $foreman::user|>{groups +> 'qpidd'}

foreman_config_entry { 'pulp_client_cert':
value => $certs::pulp_client::client_cert,
ignore_missing => false,
Expand All @@ -45,7 +41,6 @@
include foreman::plugin::tasks

Class['certs', 'certs::ca', 'certs::apache'] ~> Class['apache::service']
Class['certs', 'certs::ca', 'certs::qpid'] ~> Class['foreman::plugin::tasks']

# Used in katello.yaml.erb
$enable_ostree = $katello::params::enable_ostree
Expand Down
1 change: 1 addition & 0 deletions manifests/pulp.pp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
) {
include katello::params
include certs
include certs::qpid

class { 'certs::qpid_client':
require => Class['pulp::install'],
Expand Down
19 changes: 0 additions & 19 deletions manifests/qpid_client.pp

This file was deleted.

1 change: 0 additions & 1 deletion spec/classes/application_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class { 'katello::params':
it { is_expected.not_to create_package('tfm-rubygem-katello').that_requires('Anchor[katello::candlepin]') }
it { is_expected.to create_package('rh-postgresql12-postgresql-evr') }
it { is_expected.to contain_class('certs::qpid') }
it { is_expected.to contain_class('katello::qpid_client') }

it do
is_expected.to create_foreman_config_entry('pulp_client_cert')
Expand Down
1 change: 0 additions & 1 deletion spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
it { is_expected.to contain_class('katello::candlepin') }
it { is_expected.to contain_class('katello::application') }
it { is_expected.to contain_class('katello::pulp') }
it { is_expected.to contain_class('katello::qpid_client') }
it { is_expected.to contain_class('katello::qpid') }

it { is_expected.to contain_package('tfm-rubygem-katello').that_requires('Class[candlepin]') }
Expand Down
21 changes: 0 additions & 21 deletions spec/classes/qpid_client_spec.rb

This file was deleted.

0 comments on commit 5c9c1be

Please sign in to comment.