From 4155c66f59ea42fe10d709434d6ab5dcdb66b572 Mon Sep 17 00:00:00 2001 From: Justin Sherrill Date: Thu, 27 Jan 2022 09:11:38 -0500 Subject: [PATCH] Fixes #34325 - enable pulp content cache by default --- .../220127140752-enable-pulp-content-cache.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config/foreman-proxy-content.migrations/220127140752-enable-pulp-content-cache.rb diff --git a/config/foreman-proxy-content.migrations/220127140752-enable-pulp-content-cache.rb b/config/foreman-proxy-content.migrations/220127140752-enable-pulp-content-cache.rb new file mode 100644 index 00000000..b22dfb16 --- /dev/null +++ b/config/foreman-proxy-content.migrations/220127140752-enable-pulp-content-cache.rb @@ -0,0 +1,3 @@ +if answers['foreman_proxy_content'].is_a?(Hash) && answers['foreman_proxy_content'].key?('pulpcore_cache_enabled') + answers['foreman_proxy_content']['pulpcore_cache_enabled'] = true +end