NAME

CBAIS::Actions::Rpm - install an RPM package


SYNOPSIS

$rpm = new CBAIS::Actions::Rpm(PACKAGE => 'squid' FILE => 'squid-v2.04.rpm');

if ($rpm->execute()) { print ``installed squid-v2.04 rpm\n''; }

if ($rpm->verify()) { print ``squid-v2.04 is installed\n''; } if ($rpm->undo()) { print ``squid-v2.04 is removed\n''; }


DESCRIPTION

The CBAIS::Actions::Rpm class implements a CBAIS action which manages RPM files. It enables the installation, upgrade and removal of RPP packages. It is not intended as a replacement for thr rpm system.


SEE ALSO

the CBAIS::Actions::Action manpage