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

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

 



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

Didn't think a 'yum install' with nothing specified to install would 
work.  Have you considered a groups xml file in your yum repo and doing 
a 'yum groupupdate <group name>' ?

[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