I know that the pkgdmg provider doesn''t support upgradeable or anything like that... so how do the mac admins out there upgrade for example puppet to the latest version on macs using puppet itself? Is there a good way to do this? I know it will reinstall (and "upgrade" of course) if I remove the /var/db/.puppet_pkgdmg_installed_puppet that is created but this isnt really solving much afaik. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Nigel Kersten
2009-Sep-08 23:47 UTC
[Puppet Users] Re: Mac OS X pkgdmg provider "upgradeable"
$facter_package = "facter-1.5.4.dmg" $puppet_package = "puppet-0.24.8-p20090805.dmg" package { "$facter_package": ensure => installed, source => "$pkgbase/puppet/$facter_package", } package { "$puppet_package": ensure => installed, source => "$pkgbase/puppet/$puppet_package", require => Package["$facter_package"], } We have $pkgbase defined as a variable, but all we do is increment the facter/puppet packages to a new version, and ... that''s it. On Tue, Sep 8, 2009 at 4:21 PM, grandpa <john.axel.eriksson@gmail.com>wrote:> > I know that the pkgdmg provider doesn''t support upgradeable or > anything like that... so how do the mac > admins out there upgrade for example puppet to the latest version on > macs using puppet itself? Is there > a good way to do this? I know it will reinstall (and "upgrade" of > course) if I remove the /var/db/.puppet_pkgdmg_installed_puppet > that is created but this isnt really solving much afaik. > > >-- 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 -~----------~----~----~----~------~----~------~--~---
Heh. For some reason this never occurred to me. Simple enough and wasnt very hard to move to. Thanks Nigel! On 9 Sep, 01:47, Nigel Kersten <nig...@google.com> wrote:> $facter_package = "facter-1.5.4.dmg" > $puppet_package = "puppet-0.24.8-p20090805.dmg" > > package { "$facter_package": > ensure => installed, > source => "$pkgbase/puppet/$facter_package", > } > > package { "$puppet_package": > ensure => installed, > source => "$pkgbase/puppet/$puppet_package", > require => Package["$facter_package"], > } > > We have $pkgbase defined as a variable, but all we do is increment the > facter/puppet packages to a new version, and ... that''s it. > > On Tue, Sep 8, 2009 at 4:21 PM, grandpa <john.axel.eriks...@gmail.com>wrote: > > > > > I know that the pkgdmg provider doesn''t support upgradeable or > > anything like that... so how do the mac > > admins out there upgrade for example puppet to the latest version on > > macs using puppet itself? Is there > > a good way to do this? I know it will reinstall (and "upgrade" of > > course) if I remove the /var/db/.puppet_pkgdmg_installed_puppet > > that is created but this isnt really solving much afaik. > > -- > Nigel Kersten > nig...@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 -~----------~----~----~----~------~----~------~--~---