[Yum] cron automated "update" & "install" centrally located

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-06-05 at 17:49 -0400, Prayther, Aaron wrote:
> I'm new to YUM but was looking for a way to manage a number of systems,
> more or less centrally.  The key was that I wanted to not only to
> "update" but "push" and... I think... this is going to work for me.
> 
> Is this an appropriate way to achieve a centrally managed update and
> push?
> 
> #!/bin/sh
> 
> if [ -f /var/lock/subsys/yum ]; then
>         /usr/bin/yum -R 10 -e 0 -d 0 -y -c http://ljads2/rhel4/yum.conf
> update yum
>         /usr/bin/yum -R 120 -e 0 -d 0 -y -c http://ljads2/rhel4/yum.conf
> update
>         /usr/bin/yum -R 120 -e 0 -d 0 -y -c http://ljads2/rhel4/yum-
> push.conf install
> fi

Sorry for the long delay w/o a response.

Yah - you can do the above to get 'push' capability in some ways.

to do it better we're going to need to talk about xmlrpc and some
programming . :)

-sv



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux