NAME

Tapper::Installer::Precondition::Copyfile - Install a file to a given location

SYNOPSIS

use Tapper::Installer::Precondition::Copyfile;

FUNCTIONS

install

This function encapsulates installing one single file. scp, nfs and local are supported protocols.

@param hash reference - contains all information about the file

@return success - 0 @return error - error string

install_local

Install a file from a local source.

@param hash reference - contains all information about the file

@return success - 0 @return error - error string

install_nfs

Install a file from an nfs share.

@param hash reference - contains all information about the file

@return success - 0 @return error - error string

install_scp

Install a file using scp.

@param hash reference - contains all information about the file

@return success - 0 @return error - error string

install_rsync

Install a file using rsync.

@param hash reference - contains all information about the file

@return success - 0 @return error - error string

AUTHOR

AMD OSRC Tapper Team, <tapper at amd64.org>

BUGS

None.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Tapper

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.

This program is released under the following license: freebsd