SUSE Manager/SaltPkgsetBeacon

From MicroFocusInternationalWiki
Jump to: navigation, search

Summary

The pkgset beacon keeps the Package List updated for a system registered in SUMA when the user performs a manual package installation via command line (using zypper or yum).

How it works

This beacon works together with a zypper or yum plugin (depending if system is SLE or RHEL). Plugin and beacon are provided to the minion during the registration process.

Both zypper and yum plugins have the same behavior, they are triggered everytime the RPM database is updated (after a transaction) and extract the checksum and mtime from the RPM database /var/lib/rpm/Packages. This data is stored into a cookie file in /var/cache/salt/minion/rpmdb.cookie, then pkgset beacon knows if changes have been done into the RPM database and will trigger an event to SUMA in order to update the package list for this minion.