App::ClusterSSH::Cluster - Object representing cluster configuration
Object representing application configuration
Create a new object. Object should be common across all invocations.
Read in /etc/clusters, $HOME/.clusterssh/clusters and any other given file name and register the tags found.
Define and use an external script to resolve tags into hostnames.
Read in /etc/tags, $HOME/.clusterssh/tags and any other given file name and register the tags found.
Read in the given cluster file and register the tags found
Read in the given tag file and register the tags found
Register the given tag name with the given host names.
Register the given host on the provided tags.
Retrieve all entries for the given tag. Returns an array of hosts or the number of hosts in the array depending on context.
Return an array of all available tag names
Returns a hash of all tag data.
Duncan Ferguson, <duncan_j_ferguson at yahoo.co.uk>
<duncan_j_ferguson at yahoo.co.uk>
Copyright 1999-2010 Duncan Ferguson.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install App::ClusterSSH, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::ClusterSSH
CPAN shell
perl -MCPAN -e shell install App::ClusterSSH
For more information on module installation, please visit the detailed CPAN module installation guide.