Project

General

Profile

« Previous | Next » 

Revision 264a110f

Added by Eric Helms over 7 years ago

Fixes #17400: Configure CA cert for Pulp communication

View differences:

manifests/init.pp
validate_absolute_path($repo_export_dir)
$candlepin_ca_cert = $::certs::ca_cert
$pulp_ca_cert = $::certs::ca_cert
Class['certs'] ~>
class { '::certs::apache': } ~>
spec/classes/katello_config_spec.rb
" :url: https://#{facts[:fqdn]}/pulp/api/v2/",
' :oauth_key: katello',
' :oauth_secret: secret',
' :ca_cert_file: /etc/pki/katello/certs/katello-default-ca.crt',
' :qpid:',
" :url: amqp:ssl:localhost:5671",
' :subscriptions_queue_address: katello_event_queue'
......
" :url: https://#{facts[:fqdn]}/pulp/api/v2/",
' :oauth_key: katello',
' :oauth_secret: secret',
' :ca_cert_file: /etc/pki/katello/certs/katello-default-ca.crt',
' :qpid:',
" :url: amqp:ssl:localhost:5671",
' :subscriptions_queue_address: katello_event_queue',
templates/katello.yaml.erb
:url: <%= scope['katello::pulp_url'] %>
:oauth_key: <%= scope['katello::oauth_key'] %>
:oauth_secret: <%= scope['katello::oauth_secret'] %>
:ca_cert_file: <%= scope['katello::pulp_ca_cert'] %>
:qpid:
:url: <%= scope['katello::qpid_url'] %>

Also available in: Unified diff