Awesome. Now thats coming thru in the clutch, lol.
Lemme see what i can hack together.
-- john
On Wed, 26 Apr 2006, Erich Focht wrote:
Hi,
as promised yesterday, "it will work tomorrow". Luckilly, this was indeed
today ;-)
Here's the updated version of yume-opkg which works with the OSCAR5 database.
Actually it has a bit too much functionality, but that can be stripped off.
Usage examples:
# list selected opkgs (Default group)
yume-opkg --list
# list rpms belonging to ganglia opkg
yume-opkg --list --rpms ganglia
# list rpms belonging to ganglia on the oscar_client group nodes
yume-opkg --list --rpms --group oscar_client ganglia
If you replace --list by --install, it will attmpt to install the packages.
If you add --image=PATH_TO_IMAGE it will apply all actions to the chroot image
path.
In the future, when we get direct access to the database from the clients and
OS_Detect working on the clients, yume-opkg will simply work on the clients.
Best regards,
Erich
USAGE:
./yume-opkg --distro DISTRO --distrover DISTRO_VERSION [--group GROUP] \
[--arch ARCH] [--list|--install|--update|--remove] [--all] \
[--image IMAGE_DIR] [--repo REPO_URL ...] [--yes] [--rpms] \
[--test] [--verbose|-v ...] [opkg1 [opkg2 ...]]
Query/install/update/remove OSCAR packages, corresponding RPMs,
which belong to a particular node group (e.g. oscar_server or
oscar_client, use no group for common packages).
Options:
--distro D : distribution name as used in config.xml
--distrover V : distribution version as used in config.xml
Example: --distro redhat --distrover el4
--group G : node group as used in the OSCAR database, for
example: oscar_server, oscar_clients
--arch A : architecture, overriding local machine architecture
--all : select all opkgs in the default set
--rpms : list rpms belonging to the selected opkgs
--list : list opkgs or rpms
--install : install rpms by using yum(e)
--update : update rpms with yum(e)
--remove : remove rpms with yum(e)
--repo R : specify package repository for yum(e).
--test : just show what would be done, don't do it.
--yes|-y : pass "yes" to yum if it requires input.
--verbose|-v : increase verbosity of output.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel