Watchman Monitoring can be deployed with Munki using a payload free package and postflight scripts. This process ensures the most recent Monitoring Client is installed, and relies on the Monitoring Client update process to maintain future updates.
Starting with a Payload Free Package
Munki has the ability to run pre and postinstall scripts without having the payload of a software package to install. To take advantage of this feature, we need a Payload Free Package. Download this payload free package plist (property list) for the Monitoring Client.
Move the `Monitoring Client.plist` into the pkgsinfo folder of your Munki repo.
Open Munki Admin.
Select your Munki repo.
$ sudo munkiimport /Users/miabadmin/Downloads/MonitoringClient.pkg Password: Item name: monitoringclient Display name: ORS Custom Agent Description: Installs the Monitoring Client that informs us of impending failures and the health of your Mac. Version: 6.5.8 Category: Utilities Developer: Unattended install: True Unattended uninstall: True Catalogs: testing,production Import this item? [y/n] y Upload item to subdirectory path : Copying MonitoringClient.pkg to /Users/Shared/munki_repo/pkgs/MonitoringClient-6.6.3.pkg... Saving pkginfo to /Users/Shared/munki_repo/pkgsinfo/monitoringclient-6.6.3.plist... Rebuild catalogs? [y/n] y Rebuilding catalogs at /Users/Shared/munki_repo...