Atomic repos show up for enabling even if ostree plugin is not installed
we should hide ostree-type repos on the redhat repos page if the ostree plugin is not installed.
fixes #23925 - match prod content type settings
Dev currently doesn't configure katello's plugin settings with the
enabled types, so for ostree, even if you set ostree to false, you'll
see see OS tree repos in dev (and they'll fail to enable). This adds
all the content types so dev looks more like prod setup.
#4 Updated by Stephen Benjamin about 3 years ago
This will only happen in a devel install, https://github.com/theforeman/puppet-katello_devel/pull/162 fixes it. Why was this created as a separate issue than #23801? They're the same bug AFAICT.
#5 Updated by Stephen Benjamin about 3 years ago
Oh maybe it's different. My fix handles the part of the issue where ostree will show up in dev. The code is here to hide the repos already and works just fine in prod: https://github.com/Katello/katello/blob/master/app/models/katello/repository.rb#L215
But the actual RPM kickstart repos are flagged as yum type in the CDN and they show up in prod and CDN. How do we handle hiding those? Seems matching "Atomic" isn't really ideal.
#6 Updated by Stephen Benjamin about 3 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset puppet-katello_devel|ded508edae3acaab169e0ea130dbba3db93eb0b2.