The module magi.util.software contains a method magi.util.software.requireSoftware() that lets the agent request that software be installed. The system searches through the list of installer types as found in the local MAGI config file (/etc/magi.conf) The default list contains:
- A distribution agent based on OS (apt, yum, pkgadd)
- An RPM file locator that looks in an architecture directory based on location of magi_bootstrap
- An tar file locator that looks in an architecture directory based on location of magi_bootstrap
- A source archive builder and installer that looks for the ‘source’ direction based on the location of magi_bootstrap
- A source archive builder and installer that looks in /tmp/src on the local node
Installer Types:
- magi.util.software.AptInstaller
- magi.util.software.YumInstaller
- magi.util.software.RPMFileInstaller
- magi.util.software.ArchiveInstaller
- magi.util.software.SourceInstaller