NAME

Clustericious::Admin - Parallel SSH client

VERSION

version 1.11

SYNOPSIS

% perldoc clad

DESCRIPTION

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.

FUNCTIONS

banners

DEPRECATED

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

Returns the banners from the configuration file as a list.

clusters

DEPRECATED

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

Returns the list of clusters from the configuration file.

aliases

DEPRECATED

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

Returns the alias names from the configuration file as a list.

run

DEPRECATED

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
{ n => 1 }

Dry run

l
{ l => $user }

Set the username that you want to connect with.

a
{ a => 1 }

Turn off color.

CAVEATS

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.

SEE ALSO

clad

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

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.