10. AutoOnlineUpdate

Data for configuration of AutoOnlineUpdate, input and output functions.

10.1. Summary of Module Globals

List of Global Functions

  • AutoPackages - Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

  • Export - Dump the AutoOnlineUpdate settings to a single map (For use by autoinstallation.)

  • GetModified - Functions which returns if the settings were modified

  • Import - Get all AutoOnlineUpdate settings from the first parameter (For use by autoinstallation.)

  • InstallUpdater - Check if update application (zypper/rug) is installed and install it if it is not

  • Read - Read all AutoOnlineUpdate settings

  • SetModified - Function sets internal variable, which indicates, that any settings were modified, to "true"

  • Summary - Create a textual summary and a list of unconfigured cards

  • Write - Write all AutoOnlineUpdate settings

List of Global Variables

  • autoget - Only get patches

  • cronfile - Location of the cron file

  • enabled - Auto update enabled

  • hour - time of execution (hour)

  • minute - time of execution (minute)

  • options - online_update options

  • random_time - Random time for autoyast to prevent DOS

  • skipPre - Skip patches with pre-install information

  • timing - Timing of automated updates: daily, weekly

  • write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

10.2. Global Functions

10.2.1. AutoPackages

Return packages needed to be installed and removed during Autoinstallation to insure module has all needed software installed.

Return value

  • map - with 2 lists.

10.2.2. Export

Dump the AutoOnlineUpdate settings to a single map (For use by autoinstallation.)

Return value

  • map - Dumped settings (later acceptable by Import ())

10.2.3. GetModified

Functions which returns if the settings were modified

Return value

  • boolean - settings were modified

10.2.4. Import

Get all AutoOnlineUpdate settings from the first parameter (For use by autoinstallation.)

Function parameters

  • map settings

Return value

  • boolean - True on success

10.2.5. InstallUpdater

Check if update application (zypper/rug) is installed and install it if it is not

Return value

  • boolean - false if application was not installed

10.2.6. Read

Read all AutoOnlineUpdate settings

Return value

  • boolean - true on success

10.2.7. SetModified

Function sets internal variable, which indicates, that any settings were modified, to "true"

Return value

  • void

10.2.8. Summary

Create a textual summary and a list of unconfigured cards

Return value

  • string - summary of the current configuration

10.2.9. Write

Write all AutoOnlineUpdate settings

Return value

  • boolean - true on success

10.3. Global Variables

10.3.1. autoget

Only get patches

10.3.2. cronfile

Location of the cron file

10.3.3. enabled

Auto update enabled

10.3.4. hour

time of execution (hour)

10.3.5. minute

time of execution (minute)

10.3.6. options

online_update options

10.3.7. random_time

Random time for autoyast to prevent DOS

10.3.8. skipPre

Skip patches with pre-install information

10.3.9. timing

Timing of automated updates: daily, weekly

10.3.10. write_only

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

10.4. Module Requirements

10.4.1. Module Imports

  • FileUtils
  • Mode
  • Package
  • PackageSystem
  • Report
  • Summary

10.4.2. Module Includes