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

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

 



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



LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.


[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