This project offers backend functions for all Tapper projects. This module offers access to Cobbler database manipulation.
my $bar = Tapper::Cmd::Cobbler->new();
Tapper::Cmd::Testrun - Backend functions for manipluation of the cobbler database
Retrieve the mac address of a host from features available in DB.
@param Tapper::Schema::TestrunDB::Result::Host - host object
@return string - mac address
Execute a Cobbler command.
@param string - command
@return string - output of cobbler
Add a new host to Cobbler.
@param string - name of new host @optparam hash ref - additional options, may contain * default => name of the system to copy from, "default" if empty * mac => mac address of the system, get from HostFeatures if empty
@return success - 0 @return error - error message
Remove a host from Cobbler.
@param string - name of host to remove
List systems that Cobbler already knows, either all or all matching a given criteria.
@optparam hashref - list of criteria to match, possible criteria are * name * status (one of development,testing,acceptance,production)
@return success - list of system names
Change a number of ascpects of a given host.
@param string - hostname @param hashref - list of aspects to change with new values
@return success - 0 @return error - error string
AMD OSRC Tapper Team, <tapper at amd64.org>
<tapper at amd64.org>
Copyright 2012 AMD OSRC Tapper Team, all rights reserved.
This program is released under the following license: freebsd
AMD OSRC Tapper Team <email@example.com>
Tapper Team <firstname.lastname@example.org>
This software is Copyright (c) 2020 by Advanced Micro Devices, Inc.
This is free software, licensed under:
The (two-clause) FreeBSD License
To install Tapper::Cmd, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.