If you never use Puppet with Mac clients, you can stop reading now. http://projects.reductivelabs.com/issues/2426 Looking for comment on the above bug. Currently the default provider for OS X packages is "apple" which takes a local filesystem path for the package. I believe the default should be the pkgdmg provider, which takes a http:// url for a pkg inside a dmg. Comments welcome.... -- Nigel Kersten nigelk@google.com System Administrator Google, Inc. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Jul 20, 2009 at 9:27 AM, Nigel Kersten<nigelk@google.com> wrote:> If you never use Puppet with Mac clients, you can stop reading now.More of a lurker than a user, but I''ll comment anyway.> I believe the default should be the pkgdmg provider, which takes a > http:// url for a pkg inside a dmg.I agree, but lately I have stumbled across a couple vendor DMGs that have multiple packages inside, and at least one has both the install and uninstall PKGs. So, not knowing what the default handling is, multiple PKGs in one DMG would be the *only* downside I can see to changing the default provider on OS X, and at least short-term if it''s not already handled it could be "fixed" with a documentation note. -Jack --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Jul 20, 2009 at 3:12 PM, Jack Johnson<knapjack@gmail.com> wrote:> > On Mon, Jul 20, 2009 at 9:27 AM, Nigel Kersten<nigelk@google.com> wrote: >> If you never use Puppet with Mac clients, you can stop reading now. > > More of a lurker than a user, but I''ll comment anyway. > >> I believe the default should be the pkgdmg provider, which takes a >> http:// url for a pkg inside a dmg. > > I agree, but lately I have stumbled across a couple vendor DMGs that > have multiple packages inside, and at least one has both the install > and uninstall PKGs. > > So, not knowing what the default handling is, multiple PKGs in one DMG > would be the *only* downside I can see to changing the default > provider on OS X, and at least short-term if it''s not already handled > it could be "fixed" with a documentation note.The pkgdmg provider does currently install all pkgs it finds in the dmg. mounts.each do |mountpoint| Dir.entries(mountpoint).select { |f| f =~ /\.m{0,1}pkg$/i }.each do |pkg| installpkg("#{mountpoint}/#{pkg}", name, source) end end I''d argue you should just repackage in a new dmg if you''ve got dmgs like that. I just find the apple provider really clunky. You need to set up your own relationships to download the compressed pkg from somewhere and put it on the local filesystem, then install the package, leaving the package lying around.> > -Jack > > > >-- Nigel Kersten nigelk@google.com System Administrator Google, Inc. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Jul 20, 2009 at 2:24 PM, Nigel Kersten<nigelk@google.com> wrote:> I''d argue you should just repackage in a new dmg if you''ve got dmgs like that.Yup, I''d agree, which is why I think just a blurb somewhere would cover it for future newbies. -Jack --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
I use the pkgdmg provider. What are the ramifications of changing the default? --- Thanks, Allan Marcus 505-667-5666 On Jul 20, 2009, at 11:27 AM, Nigel Kersten wrote:> > If you never use Puppet with Mac clients, you can stop reading now. > > > http://projects.reductivelabs.com/issues/2426 > > Looking for comment on the above bug. Currently the default provider > for OS X packages is "apple" which takes a local filesystem path for > the package. > > I believe the default should be the pkgdmg provider, which takes a > http:// url for a pkg inside a dmg. > > > Comments welcome.... > > > > -- > Nigel Kersten > nigelk@google.com > System Administrator > Google, Inc. > > >--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Jul 27, 2009 at 3:26 PM, Allan Marcus<allan@lanl.gov> wrote:> > I use the pkgdmg provider. > > What are the ramifications of changing the default?For you, nothing apart from no longer having to specify provider => pkgdmg in your manifests. I like being explicit about things, so have always set this as a default for all my OS X package resources, but this shouldn''t affect you at all.> > --- > Thanks, > > Allan Marcus > 505-667-5666 > > > > On Jul 20, 2009, at 11:27 AM, Nigel Kersten wrote: > >> >> If you never use Puppet with Mac clients, you can stop reading now. >> >> >> http://projects.reductivelabs.com/issues/2426 >> >> Looking for comment on the above bug. Â Currently the default provider >> for OS X packages is "apple" which takes a local filesystem path for >> the package. >> >> I believe the default should be the pkgdmg provider, which takes a >> http:// url for a pkg inside a dmg. >> >> >> Comments welcome.... >> >> >> >> -- >> Nigel Kersten >> nigelk@google.com >> System Administrator >> Google, Inc. >> >> > > > > > >-- Nigel Kersten nigelk@google.com System Administrator Google, Inc. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---