diff --git a/app/services/katello/pulp3/repository/apt.rb b/app/services/katello/pulp3/repository/apt.rb index 0f21eed8465..e2e723843c7 100644 --- a/app/services/katello/pulp3/repository/apt.rb +++ b/app/services/katello/pulp3/repository/apt.rb @@ -31,6 +31,11 @@ def sync_url_params(sync_options) end def mirror_remote_options + policy = smart_proxy.download_policy + if smart_proxy.download_policy == SmartProxy::DOWNLOAD_INHERIT + policy = repo.root.download_policy + end + distributions = "#{repo.deb_releases}" if Setting['deb_use_simple_publish'] and not distributions.split(' ').include? 'default' distributions.concat(' default')