NAME
Tapper::Installer::Base - Install everything needed for a test.
SYNOPSIS
use Tapper::Installer::Base;
FUNCTIONS
free_loop_device
Make sure /dev/loop0 is usable for losetup and kpartx.
@return success - 0 @return error - error string
cleanup
Clean a set of predefine file by deleting all of their content. This prevents confusion in certain test suites which could occur when they find old content in log files. Only warns on error.
@return success - 0
precondition_install
Encapsulate choosing where to install a precondition. Makes system_install function smaller and thus more readable.
@param hash ref - describes precondition to be installed @param object - object of precondition type, used to install
@return success - 0 @return error - error string
system_install
Install whatever has to be installed. This function is a wrapper around all other system installer functions and calls them appropriately. Note that the function will not return in case of an error. Instead it throws an exception with should be send to the server by Log4perl.
@param string - in what state are we called (autoinstall, other)
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