Part of our node provisioning includes bringing in additional yum
repositories through the syncfiles mechanism.  We would like to be
able to use the otherpkgs postscript to install packages from the
otherpkglist variables.  However, this is limited to removing packages
by name, or installing packages by full path (yet still requiring you
to have put together an entire repo beforehand), or (finally)
installing the package by wildcard path.

There is no way to simply list a package in the otherpkglist file and
have "yum install" or appropriate bring it in.

This patch to the otherpkgs postscript adds this feature.  If the path
is an absolute path, then it continues to treat the dirname as a
repository path.  If it is begins with http://, then it is a
"plain_pkg" that RPM can install.  Otherwise, simply let yum install
using the existing repositories.

/Lindsay
--
R. Lindsay Todd, PhD                 email: [email protected]
Senior Systems Programmer            phone: 518-276-2605
Rensselaer Polytechnic Institute     fax:   518-276-2809
Troy, NY 12180-3590                  WWW:   http://www.rpi.edu/~toddr

The views, opinions, and judgments expressed in this message are
solely those of the author. The message contents have not been
reviewed or approved by Rensselaer.

Attachment: otherpkgs.DIFF
Description: Binary data

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to