App::ClusterSSH::Cluster(3p)

NAME
App::ClusterSSH::Cluster

SYNOPSIS

DESCRIPTION
Object representing application configuration

METHODS

$cluster=ClusterSSH::Cluster->new();
    Create a new object. Object should be common across all invocations.

$cluster->get_clusters($filename);
    Read in /etc/clusters and any other given file name and register the tags found.

$cluster->read_cluster_file($filename);
    Read in the given cluster file and register the tags found

$cluster->register_tag($tag,@hosts);
    Register the given tag name with the given host names.

@entries = $cluster->get_tag('tag');
    Retrieve all entries for the given tag

@tags = $cluster->list_tags();
    Return an array of all available tag names

AUTHOR
Duncan Ferguson, "<duncan_j_ferguson at yahoo.co.uk>"

LICENSE AND COPYRIGHT
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.