Test::AutoBuild::Stage::RSyncStatus - Create an index for RSyncStatus package management tool
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);
This module invokes the rsync(1) command to copy the status pages to a target host using rsync.
rsync(1)
In addition to the standard parameters defined by the Test::AutoBuild::Stage module, this module accepts two entries in the options parameter:
options
The RSync URI for the target host location.
The of the local directory to be copied
{ 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 } }
This method invokes rsync to copy the local directory to the target host
Daniel Berrange <dan@berrange.com>
Copyright (C) 2011 Red Hat, Inc.
perl(1), Test::AutoBuild::Stage, rsync(1)
perl(1)
To install Test::AutoBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::AutoBuild
CPAN shell
perl -MCPAN -e shell install Test::AutoBuild
For more information on module installation, please visit the detailed CPAN module installation guide.