Add in 'ccon' command

Thanks for Brandon Perkins for the patch
This commit is contained in:
Duncan Ferguson 2011-06-30 11:12:59 +01:00
parent e58a20de24
commit f04b4040ae
10 changed files with 65 additions and 10 deletions

View file

@ -83,6 +83,17 @@ sub set_port {
return $self;
}
sub get_master {
my ($self) = @_;
return $self->{master} || q{};
}
sub set_master {
my ( $self, $new_master ) = @_;
$self->{master} = $new_master;
return $self;
}
sub get_realname {
my ($self) = @_;
@ -277,12 +288,16 @@ Create a new host object. 'hostname' is a required arg, 'username' and
=item $host->get_port
=item $host->get_master
Return specific details about the host
=item $host->set_username
=item $host->set_port
=item $host->set_master
Set specific details about the host after its been created.
=item get_realname