NAME

Tapper::Installer::Precondition::Copyfile

SYNOPSIS

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

NAME

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

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

AUTHORS

  • AMD OSRC Tapper Team <tapper@amd64.org>

  • Tapper Team <tapper-ops@amazon.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Advanced Micro Devices, Inc.

This is free software, licensed under:

The (two-clause) FreeBSD License