Skip to content

Commit

Permalink
Refs #28695: Add Pulp 2 migration settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Jan 16, 2020
1 parent 37104d7 commit f9f510e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/globals.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
Boolean $enable_puppet = true,
Boolean $enable_docker = true,
Boolean $enable_deb = true,
Boolean use_pulp_2_for_file = true,
Boolean use_pulp_2_for_docker = true,
) {
if versioncmp($facts['operatingsystemmajrelease'], '8') >= 0 {
$rubygem_katello = 'rubygem-katello'
Expand Down
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@
enable_puppet => $enable_puppet,
enable_docker => $enable_docker,
enable_deb => $enable_deb,
use_pulp_2_for_file => true,
use_pulp_2_for_docker => true,
}

class { 'katello::params':
Expand Down
4 changes: 4 additions & 0 deletions templates/katello.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
:url: <%= @pulp_url %>
:ca_cert_file: <%= @pulp_ca_cert %>

:use_pulp_2_for_content_type:
:docker: <%= @use_pulp_2_for_docker %>
:file: <%= @use_pulp_2_for_file %>

:qpid:
:url: <%= @qpid_url %>
:subscriptions_queue_address: <%= @candlepin_event_queue %>
Expand Down

0 comments on commit f9f510e

Please sign in to comment.