Wrapper for zypper_call and trup_call
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.
uninstall_package('kernel-devel' [, trup_extra => 'kernel-default-base'] [, zypper_extra => 'kernel-devel']);
packages defines packages to uninstall 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_continue parameter will add changes to the default snapshot. Without this parameter, any changes in the default snapshot will be discarded and a new snapshot will be created based on the active one. trup_reboot parameter will run check_reboot_changes after trup_call, reboot if diff between the current FS and the new snapshot.