On Fri, Jul 14, 2006 at 10:56:40AM +0100, [EMAIL PROTECTED] wrote:

>    I'm using Yum so my rpm install command is:
>     
>    RPMInstallCommand = ( "/usr/bin/yum -y install %s" )
>     
>    However I'm getting the messages (in verbose mode):

>    ... long list of packages ...
>    package install: cfengine:build-test: Too many arguments in embedded
>    script

>    Does anyone have a work around for this already (i.e. probably using
>    shellcommands)?

  Perhaps something like:

    /bin/echo %s | xargs --max-args 20 /usr/bin/yum -y install \{\} \;

  That would split up the package installation to only attempt 20 at
 a time.  Of course then you might have dependency problems if the
 first 20 packages depend on something to be installed in the next
 20 ..

Steve
-- 
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
http://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to