rdrgmnzs / pulp_centos_errata_import

Imports CentOS (from http://cefs.steve-meier.de/) errata into Pulp / Katello
61 stars 22 forks source link

Ensure set Katello repository "Mirror on Sync" options to "No" #29

Open cerih opened 7 years ago

cerih commented 7 years ago

FYI: From Katello 3.0 repositories have "Mirror on Sync" option. Ensure this is set to "No" otherwise loaded errata are cleared on next sync.

angystardust commented 7 years ago

@cerih thanks a lot for the tip! But what "Mirror on Sync" option is intended for? What feature I lost if i disable this option?

cerih commented 7 years ago

If package rpm are removed from the source repo then you don't delete your own copy locally -- that's all you lose. For the CentOS repos I do not think this is an issue. "Mirror on sync" could be useful for more chaotic repos which routinely withdraw content. Remember that you can always leave it "on" for repos which publish updateinfo in the first place (e.g. EPEL). My suggestion only applies to those repos to which you are appending your own errata with scripts like this.