Is it possible to add package group to local repo?

Hello to all,
I’m new to Foreman/Katello and just trying to implement it in my company.
But unfortunately, I have some misunderstanding of that how things are working.

  1. Is it possible to add a custom XML file with groups in katello local repositories so it can add it to repository metadata? And where is stored local content packages, repodata and etc?
  2. Can you provide me some good practices, tip, and tricks about provisioning ? At the moment I’m using local CentOS ISO for installation media, because Synced Content isn’t working.

Thanks in advance!

Ok, so what I did to make a custom package group in Katello local repositories:

  1. Download the repository to my local machine, make the changes I want and then sync it back to the Foreman server.

Don’t know if this is the correct way, but it’s the only way I can think of right now. The thing is that I still can’t find where Katello stores all the packages, after sync. It should be somewhere inside /var/lib/pulp I think, but I can’t find any repo structure over there, only a lot of used space full with temp files and stuff like this.