> Log Message:
> -----------
> script to install multiple agent machines

Hi bobg,

A couple comments.

> Added Paths:
> -----------
>     trunk/fossology/utils/installagents
> 
> Added: trunk/fossology/utils/installagents
> ===================================================================
> --- trunk/fossology/utils/installagents                               (rev 0)
> +++ trunk/fossology/utils/installagents       2009-04-29 21:24:55 UTC (rev 20
> 49)
> @@ -0,0 +1,21 @@
> +#!/bin/bash
> +# After you build a fossology tarball with fo-mktar,  you can use
> +# this script to copy the fossology tarball to the multiple agent machines 
> +# specified in the for loop.
> +# It then untars, builds and installs fossology on those machines.
> +# This does not clean up the unpacked tarball on the agent machines.
> +
> +# Usage: updateagents fossology-1.1.0~20090205.tar.gz
> +
> +TARFILE=$1
> +TARDIR=${TARFILE%.tar.gz}
> +
> +for i in buckbeak fawkes

This is HP infrastructure specific, maybe you could make it more generic or 
at least explain that it's an HP specific script.

> +do
> +scp $TARFILE $i:~/$TARFILE
> +ssh $i "tar -xzvf $TARFILE;
> +        cd $TARDIR;
> +        make ; make install;
> +        sudo ./install.sh -u';"

install.sh went away with the old build system. You want 
/usr/local/bin/fo-postinstall instead, and depending on which system you 
are running on you can use it's flags to only run the needed stuff. Use 
--help for more info.

-- 
Matt Taggart
[email protected]


_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to