Skip to content

Commit

Permalink
Fixes #33337 - Do not enable Puppet infrastructure by default for Kat…
Browse files Browse the repository at this point in the history
…ello scenario
  • Loading branch information
ehelms committed Nov 2, 2021
1 parent b75531b commit a948a12
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
12 changes: 4 additions & 8 deletions config/foreman-proxy-content-answers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ certs:
generate: false
foreman_proxy_content:
pulpcore_mirror: true
puppet: false
foreman_proxy:
foreman_ssl_ca: /etc/foreman-proxy/foreman_ssl_ca.pem
foreman_ssl_cert: /etc/foreman-proxy/foreman_ssl_cert.pem
Expand All @@ -24,6 +25,8 @@ foreman_proxy:
ssl_key: /etc/foreman-proxy/ssl_key.pem
ssl_port: '9090'
templates: true
puppet: false
puppetca: false
foreman_proxy::plugin::acd: false
foreman_proxy::plugin::ansible: false
foreman_proxy::plugin::dhcp::infoblox: false
Expand All @@ -34,11 +37,4 @@ foreman_proxy::plugin::reports: false
foreman_proxy::plugin::openscap: false
foreman_proxy::plugin::remote_execution::ssh: false
foreman_proxy::plugin::shellhooks: false
puppet:
server: true
server_foreman_ssl_ca: /etc/pki/katello/puppet/puppet_client_ca.crt
server_foreman_ssl_cert: /etc/pki/katello/puppet/puppet_client.crt
server_foreman_ssl_key: /etc/pki/katello/puppet/puppet_client.key
server_jvm_extra_args:
- "-Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger"
- "-XX:ReservedCodeCacheSize=512m"
puppet: false
15 changes: 5 additions & 10 deletions config/katello-answers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ foreman::cli::discovery: false
foreman::cli::katello: true
foreman::cli::kubevirt: false
foreman::cli::openscap: false
foreman::cli::puppet: true
foreman::cli::puppet: false
foreman::cli::remote_execution: true
foreman::cli::tasks: false
foreman::cli::templates: false
Expand Down Expand Up @@ -57,7 +57,7 @@ foreman::plugin::leapp: false
foreman::plugin::memcache: false
foreman::plugin::monitoring: false
foreman::plugin::openscap: false
foreman::plugin::puppet: true
foreman::plugin::puppet: false
foreman::plugin::puppetdb: false
foreman::plugin::remote_execution: true
foreman::plugin::remote_execution::cockpit: false
Expand All @@ -79,6 +79,8 @@ foreman_proxy:
ssl_cert: /etc/foreman-proxy/ssl_cert.pem
ssl_key: /etc/foreman-proxy/ssl_key.pem
ssl_port: '9090'
puppet: false
puppetca: false
foreman_proxy::plugin::acd: false
foreman_proxy::plugin::ansible: false
foreman_proxy::plugin::chef: false
Expand All @@ -94,11 +96,4 @@ foreman_proxy::plugin::salt: false
foreman_proxy::plugin::shellhooks: false
foreman_proxy_content: true
katello: true
puppet:
server: true
server_foreman_ssl_ca: /etc/pki/katello/puppet/puppet_client_ca.crt
server_foreman_ssl_cert: /etc/pki/katello/puppet/puppet_client.crt
server_foreman_ssl_key: /etc/pki/katello/puppet/puppet_client.key
server_jvm_extra_args:
- "-Djruby.logger.class=com.puppetlabs.jruby_utils.jruby.Slf4jLogger"
- "-XX:ReservedCodeCacheSize=512m"
puppet: false
3 changes: 1 addition & 2 deletions katello_certs/hooks/boot/02-message-helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ def proxy_instructions_message(kafo)
--foreman-proxy-trusted-hosts "#{fqdn}"\\
--foreman-proxy-trusted-hosts "#{foreman_proxy_fqdn}"\\
--foreman-proxy-oauth-consumer-key "#{foreman_oauth_key}"\\
--foreman-proxy-oauth-consumer-secret "#{foreman_oauth_secret}"\\
--puppet-server-foreman-url "#{foreman_url}"
--foreman-proxy-oauth-consumer-secret "#{foreman_oauth_secret}"
MSG
end
end
Expand Down

0 comments on commit a948a12

Please sign in to comment.