Graham Ollis > Clustericious-Admin-0.25 > Clustericious::Admin

Download:
Clustericious-Admin-0.25.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.25   Source  

NAME ^

Clustericious::Admin - Simple parallel ssh client.

VERSION ^

version 0.25

DESCRIPTION ^

This is a simple parallel ssh client, with a verbose configuration syntax for running ssh commands on various clusters of machines.

Most of the documentation is in the command line tool clad.

FUNCTIONS ^

banners

 my $banners = Clustericious::Admin->banners;

return the banners from the configuration file as a list.

clusters

 my @clusters = Clustericious::Admin->clusters;

Return the list of clusters in the configuration file

aliases

 my @aliases = Clustericious::Admin->aliases;

Return the list of aliases from the configuration file

run

 Clustericious::Admin->run(\%options, $cluster, $command);

Run the given command on all the hosts in the given cluster. Returns the exit value for the equivalent clad command, which is currently always 0, but in the future might be non-zero for failure. Options include:

n

Set to true for a dry run

l

Set to the username that you want to connect to if not using the default.

a

Set to true to turn off color

SEE ALSO ^

clad

TODO ^

Handle escaping of quote/meta characters better.

AUTHOR ^

original author: Brian Duggan

current maintainer: Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by NASA GSFC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: