Comments in-line... On Jun 29, 8:40 am, Nigel Kersten <nig...@google.com> wrote: > So along these lines, there are two things I've been thinking about to > improve package distribution with Puppet. > > a) Add a parameter called something like "creates" that would be an > array of files and/or directories that a given package is expected to > create. If any of these are missing, Puppet reinstalls the package, > regardless of the state of the marker file.
munki's package metadata has an optional key for each installation item called "installs" which is an array of items that can be application bundles, other bundle types, Info.plists, directories, and simple files. munki can check for simple existence, or compare against a stored checksum, or check version info in the case of bundles and Info.plists, and based on this info, decide a package needs to be installed (or re- installed). This provides a measure of "self-healing". munki also uses the standard Receipts mechanism and the package database - so if a package has been manually installed, munki won't try again. > b) Work on a "munki" provider. > > "Munki" is a project a friend of mine Greg Neagle has been working on > to produce a good third party pkg based repository system for OS X. > > http://code.google.com/p/munki/ > > Munki "knows" whether a given package is installed, flat or bundle > based, so it could be used to solve this problem. > > The primary problem we have with the pkgdmg provider is that there is > no necessary relationship between the dmg name and the pkg bundle > identifier, and the marker file is based upon the former, whereas the > package receipt is based upon the latter. munki's metadata formalizes the relationship between pkg ids and the install item (.dmg or flat package). -Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---