Skip to content

Commit

Permalink
refs #9060 - configure qpid::client with params
Browse files Browse the repository at this point in the history
  • Loading branch information
stbenjam committed Feb 6, 2015
1 parent b0d65ee commit 122fa60
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,12 @@
key => $certs::apache::apache_key,
ca_cert => $certs::ca_cert,
} ~>
class { 'qpid::client': } ~>
class { 'qpid::client':
ssl => true,
ssl_cert_name => 'broker',
ssl_cert_db => $certs::nss_db_dir,
ssl_cert_password_file => $certs::qpid::nss_db_password_file,
} ~>
class { 'katello::qpid':
client_cert => $certs::qpid::client_cert,
client_key => $certs::qpid::client_key,
Expand Down
6 changes: 6 additions & 0 deletions spec/classes/katello_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
it { should contain_class('katello::config') }
it { should contain_class('katello::service') }

it "should configure a qpid client" do
should contain_class('qpid::client').
with(:ssl => true,
:ssl_cert_name => 'broker')
end

context 'on setting cdn-ssl-version' do
let :params do
{
Expand Down

0 comments on commit 122fa60

Please # to comment.