This scenario is almost exactly what managed_updates was designed for.
managed_installs _installs_ an item if it's missing.
managed_updates updates items that are already installed, but does not install an item if it isn't already installed.
-Greg
> I may be confused, but it seems like managed_updates needs to refer to
> a Munki package that it is updating. The package it is updating is not
> a Munki package. It is a package that was installed by InstaDMG.
Doesn't matter. Munki doesn't care how a package was originally installed. That the whole point of managed_updates -- if you used Munki to install the package, it would be in managed_installs.
> Here is how I know whether to install my update. I install it if the
> version of edu.uoregon.cs.pkg.CIS_ConfigFiles is 1.0.
>
> root@pragma: ~ 72# pkgutil --pkg-info
> edu.uoregon.cs.pkg.CIS_ConfigFiles
> package-id: edu.uoregon.cs.pkg.CIS_ConfigFiles
> version: 1.0
> volume: /
> location:
> install-time: 1317336258
Great. Create a new package with package-id "edu.uoregon.cs.pkg.CIS_ConfigFiles" and bump the version to 1.1 or 2.0 or whatever. Import it into your Munki repo and add it to managed_updates.
When managedsoftwareupdate runs, it will look for a "edu.uoregon.cs.pkg.CIS_ConfigFiles" receipt.
If it finds no "edu.uoregon.cs.pkg.CIS_ConfigFiles" receipt, it will do nothing.
If it finds a "edu.uoregon.cs.pkg.CIS_ConfigFiles" receipt with a version less than the version in your new package, it will install your new package.
If it finds a "edu.uoregon.cs.pkg.CIS_ConfigFiles" receipt with a version equal to or greater than your new package, it will do nothing.