Repository navigation
Script
This page details jamJAR's script, which can found here.
jamJAR's script has several parameters, for assignment when called via a Jamf Pro policy, these are detailed below.
Parameters $4, $5, $6 & $7 need to have the ItemName from within the Munki repo (i.e. GoogleChrome).
If the $4 parameter is defined, this item is added to the LocalOnlyManifest's managed_installs array.
This will result in jamJAR instructing Munki to install the App (if not already installed), and to continuing patching it using updates in the Munki repo (if already installed).
If the $5 parameter is defined, this item is removed from the LocalOnlyManifest's managed_installs array.
If the $6 parameter is defined, this item is added to the LocalOnlyManifest's managed_uninstalls array.
This will result in jamJAR instructing Munki to uninstall the App using the method specified in the pkginfo file (if already installed), or to will do nothing (if not installed).
If the $7 parameter is defined, this item is removed from the LocalOnlyManifest's managed_uninstalls array.
$8 if set to ENGAGE, the jamJAR script runs Munki using 1st the managedsoftwareupdate --checkonly then managedsoftwareupdate --installonly options.
Affectively forcing the installation/uninstallation of the defined items & any pending items.