I recently installed Foreman with katello… What is the recommend way to layout content. For example, I want to add Rockey8 repos. Is it better to add Rockey8 as a product add all the repos under that? Or Create a product for each repo? IE Rockey8_baseos and Rockey8_appstream each are their own product and add the repo for each under that product. Also any other best practices and suggestions are welcome.
I have set up our distributions as separate products, containing all the repositories which they usually come with, e.g. AlmaLinux 8 with BaseOS, AppStream, etc. It’s also a good idea from the repo labels created in the repo files for this: ORG_product_repo, product and repo being the label of the product or repository in the product.
For other, more specific “products” like PostgreSQL I have put all the repositories for all distributions into the same product, i.e. my PostgreSQL product contains the active repositories for version 10-14 and for el7, el8 and el9.
We are using content views to make sure, that any client can only see repositories for it’s EL version and distribution, e.g. content views for CentOS 7, CentOS Stream 8, CentOS Stream 9, AlmaLinux 8, AlmaLinux 9.