If you're having time issues (#50), give this a try!
This updates the apple_sus_checkin checkin module to use /Library/Receipts/InstallHistory.plist instead of parsing the output of softwareupdate --history.
It also sneaks in another fix: Catalina's softwareupdate outputs in a different format, and this output is still used for pending update detection. So I reused work I had already done for the Salt mac_softwareupdate module here. This allowed me to add some additional data to the managed items for pending installs, namely whether they are "recommended" or not, and whether they require a restart or shut down.
If you're having time issues (#50), give this a try!
This updates the apple_sus_checkin checkin module to use
/Library/Receipts/InstallHistory.plist
instead of parsing the output ofsoftwareupdate --history
.It also sneaks in another fix: Catalina's softwareupdate outputs in a different format, and this output is still used for pending update detection. So I reused work I had already done for the Salt mac_softwareupdate module here. This allowed me to add some additional data to the managed items for pending installs, namely whether they are "recommended" or not, and whether they require a restart or shut down.