Hello Nigel,
> I think you're skipping the fundamental problem. > > Say you have a pkg(dmg/flat) with a URI of > > http://foo/mypackage.pkg > or > http://foo/mypackagepkg.dmg > > Without actually downloading the package/disk image, how does Puppet > know what package identifiers are contained within that pkg/dmg ? > > yea... I was thinking that the receipt and version would have to be parameters to the pkgdmg provider... That would mean that the people that wanted to provision would have to know what the receipt name and version string was, maybe by first installing the package on a test machine.. (messy) > And on the other side, how can the OS know what Puppet URI provided a > given package identifier? > The provider could check for the OS version by using the output of sw_vers.. (not neat) > I don't think we can get there from here without enforcing something like: > > * one package per Puppet URI > * package name *MUST* match package bundle identifier > > which just sucks. > > Have you seen Munki Roy? > > http://code.google.com/p/munki/ > > I've kicked off a discussion with them about what a munki provider > would look like. > Sounds good - I'll go check it out. Regards, -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.
