Clustericious::Admin - Parallel SSH client
version 1.11
% perldoc clad
This module used to contain the machinery to implement the clad command. This was moved into App::clad when it was rewritten. This module is provided for compatibility. In the future it may provide a Perl level API for clad. It currently provides a deprecated interface which will be removed from a future version, but not before January 31, 2015.
DEPRECATED
my @banners = Clustericious::Admin->banners;
Returns the banners from the configuration file as a list.
my @clusters = Clustericious::Admin->clusters;
Returns the list of clusters from the configuration file.
my @aliases = Clustericious::Admin->aliases;
Returns the alias names from the configuration file as a list.
Clustericious::Admin->new(\%options, $cluster, $command);
Run the given command on all the hosts in the given cluster. Returns 0. Options is a hash reference which may include any of the following keys.
{ n => 1 }
Dry run
{ l => $user }
Set the username that you want to connect with.
{ a => 1 }
Turn off color.
Clustericious::Admin and clad require an AnyEvent event loop that allows entering the event loop by calling recv on a condition variable. This is not supported by all AnyEvent event loops and is discouraged by the AnyEvent documentation for CPAN modules, though most of the important event loops, such as EV and the pure perl implementation that comes with AnyEvent DO support this behavior.
recv
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2015 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Clustericious::Admin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Clustericious::Admin
CPAN shell
perl -MCPAN -e shell install Clustericious::Admin
For more information on module installation, please visit the detailed CPAN module installation guide.