help-cfengine
[Top][All Lists]
Advanced

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

Re: Bulk install of Sun .pkg Packages with CFEngine


From: greg
Subject: Re: Bulk install of Sun .pkg Packages with CFEngine
Date: Tue, 27 Sep 2005 10:19:49 +0200

It's maybe not in your packaging plan, but stream format lets you "encapsulate" 
as many package as
you want in one .pkg file. Then, you can use the following command-line:

pkgadd -d /var/spool/pkg/MyStream.pkg SUNWfoo SUNWbar SUNWbaz

             greg

--
http://www.livretdulibre.org/html-ed2/livret_libre.html

---------- Original Message -----------
From: Geoff Davis <gadavis@ucsd.edu>
To: help-cfengine@gnu.org
Sent: Mon, 26 Sep 2005 16:11:14 -0700
Subject: Bulk install of Sun .pkg Packages with CFEngine

> Does anyone have a script or other trick for doing bulk installations  
> of Sun packages in streamed format, a.k.a. the .pkg files? The Sun  
> pkgadd command won't let you specify multiple packages to install on  
> the command line unless they are all unstreamed packages.
> 
> For example, if you have a bunch of .pkg files in /var/spool/pkg, you  
> can't just say:
> pkgadd -d /var/spool/pkg SUNWfoo SUNWbar SUNWbaz
> because pkgadd isn't smart enough to look in the pile of .pkg files.  
> It can only look in one .pkg file at a time with the -d option.
> 
> I'm hesitant to just copy the .pkg files over and then unstream them  
> on the client because I really don't want to have the package lying  
> around in two forms if I don't need to. By the same token, I don't  
> want to unstream the packages on the CFEngine server due to  
> CFEngine's inefficiency in copying multiple files over. I'd rather  
> just copy over the single streamed package than multiple subdirectories.
> 
> Thanks,
> Geoff
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
------- End of Original Message -------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]