May 31, 2018 · Tips

Munki Client Caching Old Manifest

Recently at work we encountered a scenario where we had deleted a manifest from our Munki repository, but the client was still trying to pull it.

We had created a new, serial number-specific manifest for the client, but even though this new manifest should have superseded the old one the client still tried to request the old manifest from the web server.

To fix this problem, we had to manually set the ClientIdentifier string in the Munki preferences.

The command to set the ClientIdentifier to the serial number looks like this:

defaults write /Library/Preferences/ManagedInstalls ClientIdentifier -string "MachineSerial"