[Spacewalk-list] How to set Spacewalk server as yum server

fnwsa at yahoo.com fnwsa at yahoo.com
Wed Oct 17 12:51:46 UTC 2012


Hi Jeremy,

Thank you for your reply. Since we have not yet set Kickstart on the Spacewalk server, the method you suggested doesn't work here.

 
nz



________________________________
 From: Jeremy Davis <jdavis4102 at gmail.com>
To: spacewalk-list at redhat.com 
Sent: Tuesday, October 16, 2012 5:13:30 PM
Subject: Re: [Spacewalk-list] How to set Spacewalk server as yum server
 

Hello,

Why not use the same urls that are used for the kickstart configuration. There are URLs that you can use as baseurls for a yum configuration. I am currently using them in my environment for servers that are unable to join Spacewalk for what ever reason. Works really well and doesn't require any management or any additional commands other than updating the distro trees when a new version is released (CentOS Major versions like 5.7 to 5.8). All packages that are available from Spacewalk are available to these URLs without any other need for external applications to update.


On Tue, Oct 16, 2012 at 2:39 PM, Paul Robert Marino <prmarino1 at gmail.com> wrote:

Under the hood mrepo runs createrepo for you
>On Oct 16, 2012 3:35 PM,  <fnwsa at yahoo.com> wrote:
>
>Hi,
>>
>>
>>I believe that this is a good subject, but haven't found related info yet online about it. Sorry if the subject has already been discussed in this great mailing list before.
>>
>>
>>
>>I'd like to set our Spacewalk server as a Yum server, so clients can use yum command to install/upgrade single package. The Spacewalk server has been working well. Here is what I did on the client:
>>
>>spacewalkclient# cat /etc/yum.repos.d/spacewalk-client.repo
>>[spacewalk-client]
>>name=Spacewalk Client Tools
>>baseurl=http://spacewalkserver.ourdomain.com/mrepo/rhel_5_server-x86_64/RPMS.updates
>>#gpgkey=http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk-2012
>>enabled=1
>>gpgcheck=0
>>
>>
>>What else do I need to do to implement the job? I think I don't need to run 'createrepo' command since repodata sub-directories have already been created by the spacewalk-mrepo sync process.
>>
>>Thank you!
>>
>>
>>nz
>>
>>
>>_______________________________________________
>>Spacewalk-list mailing list
>>Spacewalk-list at redhat.com
>>https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>_______________________________________________
>Spacewalk-list mailing list
>Spacewalk-list at redhat.com
>https://www.redhat.com/mailman/listinfo/spacewalk-list
>

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121017/5af677eb/attachment.htm>


More information about the Spacewalk-list mailing list