Skip to content

Commit

Permalink
Refs #30023 - Enable katello_applicability based on yum support
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsherrill authored and ehelms committed Jun 8, 2020
1 parent 6e4719a commit cabe59a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/classes/application_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class { 'katello::params':
' :docker: false',
' :file: false',
' :yum: false',
' :katello_applicability: true',
' :container_image_registry:',
' :crane_url: https://foo.example.com:5000',
' :crane_ca_cert_file: /etc/pki/katello/certs/katello-server-ca.crt'
Expand Down Expand Up @@ -153,6 +154,7 @@ class { 'katello::params':
' :docker: false',
' :file: false',
' :yum: false',
' :katello_applicability: true',
' :container_image_registry:',
' :crane_url: https://foo.example.com:5000',
' :crane_ca_cert_file: /etc/pki/katello/certs/katello-server-ca.crt',
Expand Down Expand Up @@ -199,6 +201,7 @@ class {'katello::globals':
' :docker: false',
' :file: false',
' :yum: false',
' :katello_applicability: true',
' :container_image_registry:',
' :crane_url: https://foo.example.com:5000',
' :crane_ca_cert_file: /etc/pki/katello/certs/katello-server-ca.crt'
Expand Down
2 changes: 2 additions & 0 deletions templates/katello.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
:file: <%= @use_pulp_2_for_file %>
:yum: <%= @use_pulp_2_for_yum %>

:katello_applicability: <%= !@use_pulp_2_for_yum %>

# Internal configuration for communication from server to pulp crane service.
:container_image_registry:
:crane_url: <%= @crane_url %>
Expand Down

0 comments on commit cabe59a

Please # to comment.