lib_macos.sh with the install or uninstall script.
Jamf manages Apple devices only. For a Linux fleet, use JumpCloud or Intune instead.
A SafeDep subscription is required to sync PMG events with SafeDep Cloud.
Install
-
Download
lib_macos.shandpmg_setup_install_macos.shfromscripts/mdm/macos/. You can optionally add a siblingconfig.ymlfor a machine-wide config. If you do, setcloud.enabled: truein it. A global config prevents the installer from changing that flag. - Upload the folder as a script payload, or as a package that drops the files together at a fixed path.
-
Create a policy that runs as root and invokes the installer. Pass the Cloud credentials as Jamf script parameters
$4and$5:Renumber$4and$5if your parameter slots differ. - Assign the policy to a computer group and run it.
Uninstall
Create a second policy withlib_macos.sh and pmg_uninstall_macos.sh:
Run cloud sync only
Create a separate policy to repeat cloud sync without installing or configuring PMG again. Reuse the install script and parameters, and add--cloud-sync-only:
Other MDMs
JumpCloud, Intune, and the script layout.
MDM scripts README
Source of truth in the PMG repo.

