Hello Nigel,

On Wed, Mar 24, 2010 at 10:44 AM, Nigel Kersten <[email protected]> wrote:

> On Wed, Mar 24, 2010 at 9:02 AM, Roy Nielsen <[email protected]> wrote:
> > Hello Nigel,
> >
> > Yes, I'd prefer to have the ability to install a flat package integrated
> > into the pkgdmg package provider.  I attached a patch to
> > http://projects.reductivelabs.com/issues/3378 .
>
> Excellent. I'll have a look at that.
>
> Have you guys thought about improving the way the pkgdmg provider
> decides whether or not a given package is installed?
>
>
We've been working with the /var/db files.  We've been trying to think of a
way to do this, and all we've come up with is to check if certian files are
installed - and do that specifically for each package...

Not good...


> The fundamental problem is that there's no intrinsic link between the
> supplied URI and the package identifiers of any packages it provides,
> and I've yet to come up with a solution better than the marker files
> in /var/db/ :(
>

Hmm... well.... we might be able to do something with the plist files in
/var/db/receipts (but I think that's only a 10.6 thing) looking for
PackageVersion.

In 10.5, the receipts are in /Library/Receipts - we could look at
/Library/Receipts/<receiptname>/Contents/Info.plist for the version...
(CFBundleShortVersionString)

and create a parameter for receiptname and one for version... and have
the provider check for those.

What do you think?
-Roy

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to