On Thu, 2008-11-27 at 21:00 -0600, Kevin Lombardo wrote:
> Is there a good way to do this in Gnome? Whether with gnome-terminal
> or another term program?

Great question! This would be handy indeed.

You could start a GNU Screen session that opens SSH connections to each
box, then use this script to multiplex the command:
http://harnly.net/2005/blog/geek/macosx/gnu-screen/

But that's more than a handful of moving parts, and it is fairly manual.
I'd automate it using a shell script:

----------------------8<----------------------
#!/bin/bash
newversion=app-1.1
current=/tmp/opt/app-1.0
servers="server-a
server-b
server-c"
commands="cd /tmp
&& md5sum -C $newversion.tar
&& tar -xf $newversion.tar
&& rm -rf $current
&& tar -C /tmp/opt -xf /tmp/$newversion.tar"

for server in $servers
do
    scp /tmp/$newversion.tar MD5SUMS.txt $server:
    ssh $server "$commands"
done
---------------------->8----------------------

If it needs to be more complicated, I'd probably use Python.

-- 
Adam Monsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20081128/f7a30bf6/attachment.pgp