Please support Munki `requires` and `update_for` values
Please support the configuration of the
update_for values in the package interface. It would be lovely to be able to configure these in either the catalog or assignments section. Thank you!
Mac Justice commented
Looks like `requires` is technically supported right now, with a caveat.
I tried adding a `requires` stanza to a custom pkginfo using the `name` of another package, as it appeared in the second package's pkginfo.
This didn't work, and in the local munki logs I saw that it couldn't find that name in the `default` catalog. Checking that over, it appears that the name field is replaced with a unique identifier string. I was able to change the `requires` to this ID and it successfully validated that the required package was installed and continued installation.
To me this still needs improvement, since the only way to find out the ID for use in the `requires` field is to look at a device's `default` catalog.