$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 <[email protected]>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
[email protected]
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 [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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to