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