SUSE Manager/SaltPkgsetBeacon

From MicroFocusInternationalWiki
Revision as of 11:25, 20 September 2016 by PSuarezHernandez (Talk | contribs) (How it work)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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.