Munki uses information from the pkginfo file and looks for the software items to decide whether or not a given item must be installed. To create a functional pkginfo item, understand the methods used by Munki to check the list of software items.
In the order of precedence, Munki uses the following methods to determine if the given item needs to be installed (or removed):
- Install macOS Applications using the Check Script
- Install macOS Applications using the Install Items
When combining these methods, only the highest priority method is used. For example, if a given pkginfo item has both an "installs" list and a "receipts" list, the receipts is ignored for purposes of determining the installation status. Even in this case, though, receipts may be used when removing an item, as they help Munki determine exactly which files were installed.