Test::AutoBuild::StageUseryContributed PTest::AutoBuild::Stage::RSyncStatus(3)NAMETest::AutoBuild::Stage::RSyncStatus - Create an index for RSyncStatus
package management tool
SYNOPSIS
use Test::AutoBuild::Stage::RSyncStatus
my $stage = Test::AutoBuild::Stage::RSyncStatus->new(name => "rsync",
label => "Copy status pages to a target host",
options => {
target-uri => "rsync://somehost:var/lib/builder/public_html/public_html",
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
target-uri = rsync://somehost/var/lib/builder/public_html/public_html
}
}
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 ALSOperl(1), Test::AutoBuild::Stage, rsync(1)perl v5.14.12011-0Test::AutoBuild::Stage::RSyncStatus(3)