Hi !

1. you need to create a repo :
pulp-admin rpm repo create --repo-id=myrepo-el6 --relative-url=myrepo/el6/

2. upload packages in your repo
pulp-admin rpm repo uploads rpm --repo-id=myrepo-el6
--file=mypackage.el6.x86_64.rpm

3. publish your repo
pulp-admin rpm repo publish run --repo-id=myrepo-el6


Then your packages can me found at :
https://pulpserver.fqdn/pulp/repos/myrepo/el6
and can be used with yum
(gpgcheck=0)

If you don't have a valid ssl certificate use --serve-http=true when
you create the repo

Good luck !
Regards
Paul

On Mon, Nov 24, 2014 at 11:22 PM, Brian Bouterse <[email protected]> wrote:
> I don't have the link to the docs handy for this, but I think the command you 
> are looking for starts with 'pulp-admin rpm repo uploads'. Start with that, 
> and it will show you more options you can use for the upload feature using 
> pulp-admin.
>
> -Brian
>
>
> ----- Original Message -----
>> From: "RK RK" <[email protected]>
>> To: [email protected]
>> Sent: Saturday, November 22, 2014 1:45:59 AM
>> Subject: [Pulp-list] Adding own RPM packages to my repository
>>
>> Hi All,
>>
>> I am running pulp 2.4.3 in my Centos 6.5 Box. I have synced epel and Centos
>> Updates repository.
>>
>> Please guide me on how to add a set of custom built RPM packages which is on
>> my local machine to be added to either of the two existing repos. To be
>> served to our internal users.
>>
>>
>> --
>>
>> With Regards,
>> RK,
>> +91 9840483044
>>
>> _______________________________________________
>> Pulp-list mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/pulp-list
>
> _______________________________________________
> Pulp-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/pulp-list

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to