Munki uses several different methods to decide what needs to be installed on a Mac. When deploying applications or files, an “installs” array is, in my opinion, the best way to make sure they remain installed and unaltered.
Munki automatically creates an installs array when you import an application or a DMG containing an application. But when you import a package, by default the receipts are used to determine installation status.
This means to have Munki check for the existence of items deployed by a package and not rely on the receipts, an installs array must be manually constructed.
Creating an installs array for multiple files can be tedious, so I wrote a script to simplify the process. Read on the for the details.