[katello-devel] PATCH: katello-repos for distributing the .repo files

Mike McCune mmccune at redhat.com
Thu Sep 15 06:33:21 UTC 2011


On 09/14/2011 08:52 AM, Jan Pazdziora wrote:
>
> Hello,
>
> attached please find a PATCH which creates new package katello-repos
> which defines the correct underlying yum repositories for both
> Katello, and Candlepin and Pulp.
>
> The idea is that instead of wgetting three .repo files, user
> installing Katello (and its dependencies) would only
>
> 	rpm -Uvh http://repos.fedorapeople.org/repos/katello/katello-repos-0.1.1-1.el6.noarch.rpm
>
> or
>
> 	rpm -Uvh http://repos.fedorapeople.org/repos/katello/katello-repos-0.1.1-1.fc14.noarch.rpm
>
> and they would get correct katello.repo, candlepin.repo, and
> pulp.repo.
>
> This should make it easier for Katello project to chose which bits
> will be installed -- if Pulp testing bits are required by given
> Katello release, we'd just change the enabled here and release new
> katello-repos. Once Pulp and Candlepin start to do proper releases,
> katello-repos will be able to point to specific Pulo and Candlepin
> versioned repositories that it assumes to be used for proper
> operation.
>
> The installation of katello-repos package should not be a requirement
> at any stage, it should just make it easier to run one rpm command
> instead of three wgets.
>

I pushed this patch but then thought ... Do we need this if the puppet 
installer does the work of creating the repo files itself?  If you look 
at the manifests they actually have lines that define these repos on the 
box.  It kinda makes this package superfluous unless I'm missing 
something ...

Mike
-- 
Mike McCune
mmccune AT redhat.com
Red Hat Engineering       | Portland, OR
Systems Management        | 650.254.4248




More information about the katello-devel mailing list