lib/package_utils.pm

DESCRIPTION

Wrapper for zypper_call and trup_call

install_package

install_package('kernel-devel' [, trup_packages => 'kernel-default-base] [, zypper_packages => 'kernel-devel']);

packages defines packages to install for both zypper and trup call, Parameters trup_extra and zypper_extra define transactional or zypper specific packages. skip_trup or skip_zypper will return from fucntion, record_info is used if sentence is argument value. trup_reboot parameter will run check_reboot_changes after trup_call, reboot if diff between the current FS and the new snapshot.