From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Test::AutoBuild::Stage::RSyncStatus - Create an index for RSyncStatus package management tool

SYNOPSIS

my $stage = Test::AutoBuild::Stage::RSyncStatus->new(name => "rsync",
label => "Copy status pages to a target host",
options => {
source-dir => "/var/lib/builder/public_html/public_html",
});
$stage->run($runtime);

DESCRIPTION

This module invokes the rsync(1) command to copy the status pages to a target host using rsync.

CONFIGURATION

In addition to the standard parameters defined by the Test::AutoBuild::Stage module, this module accepts two entries in the options parameter:

target-uri

The RSync URI for the target host location.

source-dir

The of the local directory to be copied

EXAMPLE

{
name = rsync
label = Copy status page to target host
module = Test::AutoBuild::Stage::RSyncStatus
critical = 0
options = {
source-dir = /var/lib/builder/public_html/dist
}
}

METHODS

$stage->process($runtime);

This method invokes rsync to copy the local directory to the target host

AUTHORS

Daniel Berrange <dan@berrange.com>

COPYRIGHT

Copyright (C) 2011 Red Hat, Inc.

SEE ALSO

perl(1), Test::AutoBuild::Stage, rsync(1)